Skip to content

Commit

Permalink
CI: modify build.yml to add full change log
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Sep 23, 2024
1 parent 3ad9814 commit ca5a674
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }}

deploy:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
#if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
needs: [ubuntu, mingw, msvc, macos, android, doxygen]
steps:
Expand Down Expand Up @@ -89,6 +89,9 @@ jobs:
echo "[:cn: 修改日志](https://github.com/KangLin/RabbitCommon/blob/${{env.RabbitCommon_VERSION}}/ChangeLog_zh_CN.md)" > ${{github.workspace}}/Note.md
echo "[:us: Change log](https://github.com/KangLin/RabbitCommon/blob/${{env.RabbitCommon_VERSION}}/ChangeLog.md)" >> ${{github.workspace}}/Note.md
echo "" >> ${{github.workspace}}/Note.md
PRE_TAG=`git tag --sort=-creatordate | head -n 1`
echo "Full Changelog: [${PRE_TAG}...${{env.RabbitCommon_VERSION}}](https://github.com/KangLin/RabbitCommon/compare/${PRE_TAG}...${{env.RabbitCommon_VERSION}})" >> ${{github.workspace}}/Note.md
echo "" >> ${{github.workspace}}/Note.md
echo "File checksum:" >> ${{github.workspace}}/Note.md
for file in *
do
Expand Down

0 comments on commit ca5a674

Please sign in to comment.