Skip to content

Commit

Permalink
test release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
neCo2 committed May 22, 2024
1 parent 9d12076 commit e4bd010
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/compile_mikupad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,16 @@ jobs:
echo "$(($NUM_COMMITS - $NEW_COMMIT))"
N_COMMITS="$(($NUM_COMMITS - $NEW_COMMIT))"
echo "Generating changelog starting from commit $NEW_COMMIT"
echo "\`\`\`$(git log --graph -n $N_COMMITS --oneline)\`\`\`" > CHANGELOG.txt
echo "$(date +'%Y-%m-%d %T')" >> CHANGELOG.txt
echo "\`\`\`" >> CHANGELOG.txt
echo "$(git log --graph -n $N_COMMITS --oneline)" >> CHANGELOG.txt
echo "\`\`\`" >> CHANGELOG.txt
echo "$(git log --graph -n $N_COMMITS --oneline)"
fi
- name: Release
uses: softprops/action-gh-release@v2
with:
with:
tag_name: release${{ steps.Tag_Name.outputs.number }}
name: ${{ steps.Tag_Name.outputs.buildName }}
body_path: CHANGELOG.txt
Expand Down

0 comments on commit e4bd010

Please sign in to comment.