yii-dev-tool
yii-dev-tool copied to clipboard
`release/make` command may have extra tags
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
We can push a concrete tag that was created with git push origin tag_name.