Skip to content

Support updating existing tag ref #225

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

erodozer
Copy link

fixes #116

Adds force_update parameter, allowing for updating the ref of an existing tag. Useful for moving tags, which some workflows prefer for managing tags that reflect latest prereleases or deployments.

I, personally, had a use-case where I wanted nightly artifact snapshots of a project to be simply tagged as "latest". This is to avoid polluting the tagging, and ease distribution. The builds themselves already report the git sha so there's no need for more specific in the github releases.

@blackjid
Copy link

I'd like to force this too

@jkremser
Copy link

jkremser commented Mar 4, 2025

it looks like the repo is no longer maintained :(

@erodozer would you be willing to release the action on your fork? This feature is crucial for the action, imho.

I guess, I can consume it directly from your gh repo as
erodozer/github-tag-action@ f6b899a1d8497fca054ba1026828cbb8496b7d9e but having a dedicated tag w/ a version would be nice (i understand you probably don't want to maintain this)

@erodozer
Copy link
Author

@jkremser I'm probably not going to do a release since I have no intention of fully maintaining this, but I will keep this branch around until it's possibly merged. If you don't like to reference by commit sha, you can always reference by branch name erodozer/github-tag-action@fix-tag-existing

Depending on the kind of project and environment you're using the action in, such as an enterprise organization, you might want to also consider forking my branch to preserve it.

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.

Force overwrite tag
3 participants