Merge pull request #51 from vanducng/fix/changelog-comparison-url

fix: changelog comparison URL in release workflow
This commit is contained in:
Lina Tawfik 2025-06-30 21:26:32 -07:00 committed by GitHub
commit 012e1d1f09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,12 @@ jobs:
VERSION="${BRANCH_NAME#release/v}" VERSION="${BRANCH_NAME#release/v}"
echo "version=$VERSION" >> $GITHUB_OUTPUT echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Get previous release tag
id: previous_tag
run: |
PREVIOUS_TAG=$(git describe --tags --abbrev=0 HEAD~1 2>/dev/null || echo "")
echo "previous_tag=$PREVIOUS_TAG" >> $GITHUB_OUTPUT
- name: Create and push tag - name: Create and push tag
run: | run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.email "github-actions[bot]@users.noreply.github.com"
@ -54,6 +60,6 @@ jobs:
``` ```
### What's Changed ### What's Changed
See the [full changelog](https://github.com/${{ github.repository }}/compare/v${{ steps.extract_version.outputs.version }}...v${{ steps.extract_version.outputs.version }}) See the [full changelog](https://github.com/${{ github.repository }}/compare/${{ steps.previous_tag.outputs.previous_tag }}...v${{ steps.extract_version.outputs.version }})
draft: false draft: false
prerelease: false prerelease: false