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

Deploy new packages when tag is added #506

Merged
merged 2 commits into from
Feb 21, 2023
Merged

Conversation

fionaliao
Copy link
Contributor

@fionaliao fionaliao commented Feb 21, 2023

If you merge a new release into master and then add a new tag, the publish_release workflow fails (example). This is because packages aren't being deployed when a new tag is added. This PR adds the build/package/deploy steps to the publish_release workflow so correct packages are being deployed before the publish step.

Also fixed an issue with packaging - after #479 the package step started failing because it was trying to build a binary before packaging it. The fix here was to make sure both the arm64/amd64 binaries are being created in the build step so the package step doesn't try to build a new binary.

@fionaliao fionaliao changed the title Create new packages when tag is added Deploy new packages when tag is added Feb 21, 2023
@fionaliao fionaliao marked this pull request as ready for review February 21, 2023 14:13
Copy link
Member

@jesusvazquez jesusvazquez left a comment

Choose a reason for hiding this comment

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

LGTM, try adding arm arch to goreleaser as well

@fionaliao fionaliao merged commit dcde1d6 into master Feb 21, 2023
@fionaliao fionaliao deleted the fl/tag-trigger-package branch February 21, 2023 14: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.

None yet

2 participants