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

Perform full checkout of repository during release #3088

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

kichristensen
Copy link
Contributor

What does this change

Perform full checkout of repository during release
Otherwise git describe --tags won't work correctly, because of the missing history, causing the canary build to not be published.

What issue does it fix

Closes #3087

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

Otherwise `git describe --tags` won't work correctly, because of the
missing history, causing the canary build to not be published.

Signed-off-by: Kim Christensen <kimworking@gmail.com>
Copy link
Member

@schristoff schristoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, good catch

@schristoff schristoff merged commit 9f85030 into getporter:main Apr 29, 2024
15 checks passed
@kichristensen kichristensen deleted the checkoutHistory branch May 1, 2024 11:55
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.

When producing canary release the version is calculated incorrectly
2 participants