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

fix: Only run release workflow when the release is created #358

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

RobertGemmaJr
Copy link
Member

@RobertGemmaJr RobertGemmaJr commented Dec 12, 2023

Releases must be tagged and a tag is always associated with 1 specific commit. Editing the release doesn't change the code it's using which means the executables will always be the exact same. If a user ever wanted to change the commit of a release they would have to delete the release, delete the tag, and then re-create the tag and release.

This is why I feel safe making this change. I have it in my TODOs to write a discussion post on the process of deleting and re-creating a release to change the commit it's built on!

Copy link

github-actions bot commented Dec 12, 2023

Visit the preview URL for this PR (updated for commit e05ea1d):

https://ccv-honeycomb--pr358-fix-releases-a5boyty5.web.app

(expires Wed, 20 Dec 2023 18:28:09 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4ace1dcea913a952d2a1af84b94a4421bf36e610

@RobertGemmaJr
Copy link
Member Author

It is possible to force change the commit a tag is associated with but the user will still have to create a new release in order for that change to take effect.

@RobertGemmaJr RobertGemmaJr merged commit a5d3954 into main Dec 13, 2023
8 checks passed
@RobertGemmaJr RobertGemmaJr deleted the fix-releases branch December 13, 2023 20:21
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