Skip to content

Commit f0d9509

Browse files
committed
update: workflow debug of relase creation
1 parent bea4c0e commit f0d9509

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
- run: python3 craft.py
2424

2525
- run: |
26+
chmod +x ./gitcmd.sh
27+
./gitcmd.sh
28+
echo "Begin Creating Release..."
2629
python3 ./releaser.py > version.txt
30+
echo "Create successful!"
2731
cat version.txt
2832
2933
- name: Create Release

gitcmd.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/sh
2+
13
LATEST_TAG=`git tag --sort=refname |tail -n 2 |head -n 1`
24
NEW_TAG=`git tag --sort=refname |tail -n 1`
35
git log --format='%(trailers:key=Type,valueonly,separator=%x20)%x1c%s [%(trailers:key=Issue,valueonly,separator=,)]' $LATEST_TAG..$NEW_TAG | awk -F "\034" '

0 commit comments

Comments
 (0)