Skip to content
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

Calculate the version correctly when releasing from tag #334

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

kichristensen
Copy link
Contributor

What does this change

During the last release of Porter Core there was an issue where the pipeline published the canary version instead of the finalized released. This happens because the build scripts calculate the version incorrectly when multiple tags are present on the same commit.

The release process of the operator is slightly different, but updating the magefiles dependencies should ensure that the same issue is not appearing when the operator is released.

Notes for the reviewer

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you make any API changes? Update the corresponding API documentation.

During the last release of Porter Core there was an issue where the
pipeline published the canary version instead of the finalized released.
This happens because the build scripts calculate the version incorrectly
when multiple tags are present on the same commit.

The release process of the operator is slightly different, but updating
the magefiles dependencies should ensure that the same issue is not
appearing when the operator is released.
@troy0820 troy0820 merged commit ea5b75d into getporter:main Jun 28, 2024
5 of 6 checks passed
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