Skip to content

[ci] Release from commit instead of branch name - #1387

Merged
Aidan63 merged 1 commit into
HaxeFoundation:masterfrom
tobil4sk:fix/ci-release-tag
Sep 4, 2026
Merged

[ci] Release from commit instead of branch name#1387
Aidan63 merged 1 commit into
HaxeFoundation:masterfrom
tobil4sk:fix/ci-release-tag

Conversation

@tobil4sk

@tobil4sk tobil4sk commented Sep 4, 2026

Copy link
Copy Markdown
Member

The branch may have moved since the package workflow started, so we need to make sure we release from the original commit that triggered the workflow to avoid multiple releases being created from the head of the master branch.

This was meant to be fixed in #1328, but it looks like ref is still the branch name instead of the commit id... the correct field is sha:
https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#github-context

NB: To fix the current state, we will also have to manually create a v4.3.158 tag from the latest commit in master and push it.

The branch may have moved since the package workflow started, so we need
to make sure we release from the original commit that triggered the
workflow to avoid multiple releases being created from the head of the
master branch.
@Aidan63
Aidan63 merged commit 5c6369e into HaxeFoundation:master Sep 4, 2026
145 checks passed
@tobil4sk
tobil4sk deleted the fix/ci-release-tag branch September 4, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants