Skip to content

Commit

Permalink
update: workflow debug of relase creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Esonhugh committed Jun 18, 2024
1 parent bea4c0e commit f0d9509
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
- run: python3 craft.py

- run: |
chmod +x ./gitcmd.sh
./gitcmd.sh
echo "Begin Creating Release..."
python3 ./releaser.py > version.txt
echo "Create successful!"
cat version.txt
- name: Create Release
Expand Down
2 changes: 2 additions & 0 deletions gitcmd.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

LATEST_TAG=`git tag --sort=refname |tail -n 2 |head -n 1`
NEW_TAG=`git tag --sort=refname |tail -n 1`
git log --format='%(trailers:key=Type,valueonly,separator=%x20)%x1c%s [%(trailers:key=Issue,valueonly,separator=,)]' $LATEST_TAG..$NEW_TAG | awk -F "\034" '
Expand Down

0 comments on commit f0d9509

Please sign in to comment.