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

How to replace existing release tag instead of add more files? #202

Open
LazyGeniusMan opened this issue Jan 28, 2022 · 2 comments
Open

Comments

@LazyGeniusMan
Copy link

LazyGeniusMan commented Jan 28, 2022

Is it possible to replace files under release for existing release tag instead of adding more file ?

Currently if the tag is exists it will add more files to them, I prefer to delete the existing release and tag and then add a new one

btw I'm building workflow for releasing develop branch on commit, the tag is always dev/latest but the file name have date and short commit sha

@LazyGeniusMan
Copy link
Author

LazyGeniusMan commented Jan 28, 2022

I can do this manually by running this command before this github action:

git fetch --tags
hub release delete <TAG>
git push --delete origin <TAG>

Would be nice if this can be done inside with, maybe something like replace_existing_tag: true (default to false)

@sschuberth
Copy link

Sounds a bit as if #188 would implement that.

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

No branches or pull requests

2 participants