nearform-actions / optic-release-automation-action

Automate the release process of your npm packages, apps and actions
18 stars 14 forks source link

Fix/update version tags without deleting #372

Closed williamlines closed 11 months ago

williamlines commented 11 months ago

Instead of deleting the old version tags and replacing them with a new tag of the same name, we can force push the new tags which replaces the old tags of the same name with the new ones. This way it is not possible for the action to fail in between the steps of deleting the old tags and creating the new tag, leaving us with no tag at all.

closes: https://github.com/nearform-actions/github-action-notify-release/issues/657