Skip to content

Commit 2ceb3aa

Browse files
committed
ci: Fix release build - Pass tag_name to GitHub release action
The release workflow now runs from build-main.yml (push to main) instead of build-tag.yml (push to tag), so GITHUB_REF is refs/heads/main not a tag ref. softprops/action-gh-release needs tag_name set explicitly. Prompts: - "also the release failed" - (link to failed run showing 'GitHub Releases requires a tag') Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> https://github.com/timabell/gitopolis/actions/runs/24367846445/job/71164504654
1 parent 342f92d commit 2ceb3aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
- name: Create Release
5252
uses: softprops/action-gh-release@v2
5353
with:
54+
tag_name: ${{ inputs.release_tag }}
55+
name: ${{ inputs.release_tag }}
5456
body: ${{ steps.changelog.outputs.content }}
5557
files: |
5658
gitopolis-linux-x86_64.tar.gz

0 commit comments

Comments
 (0)