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

When producing canary release the version is calculated incorrectly #3087

Closed
kichristensen opened this issue Apr 28, 2024 · 0 comments · Fixed by #3088 or #3092
Closed

When producing canary release the version is calculated incorrectly #3087

kichristensen opened this issue Apr 28, 2024 · 0 comments · Fixed by #3088 or #3092
Assignees
Labels
bug Oops, sorry!

Comments

@kichristensen
Copy link
Contributor

Describe the bug

When publishing the canary release the magefile tries to determine the version of the commit. That is not possible as Github Actions by default checks out the repository with a depth of 1, making it impossible to determine the correct version using git describe --tags.
See https://github.com/getporter/porter/actions/runs/8861567104/job/24333736800 for an example of a failing action

To Reproduce

Steps to reproduce the behavior:

  1. Merge to main
  2. See that the porter-canary action fails

Expected behavior

The action should succeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Oops, sorry!
Projects
None yet
1 participant