Skip to content

Fix Packagist re-tag blocked error#21

Closed
mattheu wants to merge 1 commit into
mainfrom
fix/packagist-retag
Closed

Fix Packagist re-tag blocked error#21
mattheu wants to merge 1 commit into
mainfrom
fix/packagist-retag

Conversation

@mattheu

@mattheu mattheu commented Jun 12, 2026

Copy link
Copy Markdown
Member

The release workflow was force-pushing the release tag to a new commit after baking in the version number. Packagist now blocks versions where a tag moves to a different commit hash.

Fix: switch to workflow_dispatch so the version is committed to release first, then the tag is created once from that commit and never moved.

To release: Actions → Version and Release → Run workflow, enter the version number.

Previously the workflow created a tag, then force-pushed it to a new
commit after baking in the version number. Packagist now blocks versions
where the tag moves to a different commit.

Fix by switching to workflow_dispatch: the version is committed to the
release branch first, then the tag is created once from that commit and
never moved.
@roborourke

Copy link
Copy Markdown
Collaborator

closed in favour of #22

@roborourke roborourke closed this Jun 12, 2026
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