Skip to content

Commit

Permalink
update: Update release.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtryhard committed Nov 20, 2024
1 parent 16abceb commit ac52fef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
needs: [windows, ubuntu, macos]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get the release version from the tag
shell: bash
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
Expand Down Expand Up @@ -135,6 +137,7 @@ jobs:
l256=$(sha256sum qt-ts-tools-linux-${{ env.VERSION }}-x86.tar.gz)
m256=$(sha256sum qt-ts-tools-macos-${{ env.VERSION }}-aarch64.tar.gz)
git fetch -a
previous_tag=$(git describe --abbrev=0 --tags ${{ env.VERSION }}^)
changes="$(cat CHANGELOG.md | awk '/^## /{block++} {if (block==1) {print}}')"
echo "$changes" > CHANGES.md
Expand Down

0 comments on commit ac52fef

Please sign in to comment.