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

release/make command may have extra tags #240

Open
xepozz opened this issue Oct 28, 2022 · 1 comment
Open

release/make command may have extra tags #240

xepozz opened this issue Oct 28, 2022 · 1 comment
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement

Comments

@xepozz
Copy link
Member

xepozz commented Oct 28, 2022

Extra tags may be pushed if they were in working directory.
It may break the command logic and cause misunderstanding.
The better way to fix it is to clean all local tags and fetch tags from a remote repository.
The snippet should be applied before any release/make calls, so it can be inside the command logic:

git tag -l | xargs git tag -d
git fetch --tags
@xepozz xepozz changed the title release/make command may have extra tags release/make command may have extra tags Oct 28, 2022
@samdark
Copy link
Member

samdark commented Nov 13, 2022

We can push a concrete tag that was created with git push origin tag_name.

@samdark samdark added type:enhancement Enhancement status:ready for adoption Feel free to implement this issue. labels Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants