Skip to content

Update example workflow to reference v1 as release version #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 10, 2020

Conversation

weierophinney
Copy link
Member

@weierophinney weierophinney commented Aug 10, 2020

When a new release is published, if it is the most recent version in the current major version series, we should point a tag v{MAJOR} at the new release.

This patch:

  • Updates the example workflow to point to the v1 release.
  • Adds a github workflow, update-major-release.yml, that makes use of the action "actions-tagger", which compares the current release against other releases in the current major version, and repoints the v{MAJOR} tag if so.

Fixes #34

Instead of the specific release. We will be re-tagging v1 from the
latest 1.X.Y release going forward.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@michalbundyra michalbundyra linked an issue Aug 10, 2020 that may be closed by this pull request
The actions-tagger action runs on release, and if a semantic version is
detected, it will:

- Pull all tag versions for the major release indicated.
- Compare the version released against the latest in the major release series.
- Repoint the v{MAJOR} tag at the new version if it is indeed the newest
  in that series.

Essentially, if 1.1.2 is released, and it is the most recent release in
the v1 series, this will point the v1 tag at 1.1.2.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@Ocramius Ocramius added this to the 1.2.0 milestone Aug 10, 2020
@Ocramius Ocramius self-assigned this Aug 10, 2020
@Ocramius Ocramius merged commit c162905 into laminas:1.2.x Aug 10, 2020
@weierophinney weierophinney deleted the workflow/v1-ref branch August 10, 2020 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Major version tag v1 for action reference
3 participants