mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-07-07 14:45:00 +00:00
Merge pull request #51 from vanducng/fix/changelog-comparison-url
fix: changelog comparison URL in release workflow
This commit is contained in:
commit
012e1d1f09
1 changed files with 8 additions and 2 deletions
10
.github/workflows/create-release-tag.yml
vendored
10
.github/workflows/create-release-tag.yml
vendored
|
@ -24,6 +24,12 @@ jobs:
|
|||
VERSION="${BRANCH_NAME#release/v}"
|
||||
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
|
||||
run: |
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
|
@ -54,6 +60,6 @@ jobs:
|
|||
```
|
||||
|
||||
### 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
|
||||
prerelease: false
|
||||
prerelease: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue