mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 03:21:47 +08:00
fix(ci): create GitHub release on the source tag, not main HEAD
The create_release job tagged the release with determine-main-version's output, which strips the v prefix, and passed no commit. ncipollo then created a bare vless tag (e.g. 1.10.0) at the default branch HEAD instead of the validated source tag (v1.10.0). GitHub generateReleaseNotes compared that bare tag against the previous bare tag, so the changelog only captured PRs merged directly to main and missed everything that shipped through the release branch. Tag the release on inputs.release_tag and pin the commit to it. This is the same vless-duplicate-tag failure the validate-tag-format job already warns about.
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -1188,6 +1188,7 @@ jobs:
|
||||
draft: false
|
||||
generateReleaseNotes: true
|
||||
prerelease: ${{ inputs.pre_release }}
|
||||
tag: ${{ needs.determine-main-version.outputs.version }}
|
||||
tag: ${{ inputs.release_tag }}
|
||||
commit: ${{ inputs.release_tag }}
|
||||
allowUpdates: true
|
||||
updateOnlyUnreleased: false
|
||||
|
||||
Reference in New Issue
Block a user