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

Fix bad git-min alias resolves tag permanently #44

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

Conversation

nathanperkins
Copy link

With the gtg-min alias, using double-quotes calls git-semver immediately and encodes the current tag permanently in the alias. Then, every time you call the alias, it uses the same tag and fails with fatal: tag 'x.y.z' already exists.

We change it to single quotes so that the subcommand is not resolved at definition and calling the alias will generate a new tag every time.

Fixes #43

With the `gtg-min` alias, using double-quotes calls git-semver immediately and encodes the current tag permanently in the alias. Then, every time you call the alias, it uses the same tag and fails with `fatal: tag 'x.y.z' already exists`.

We change it to single quotes so that the subcommand is not resolved at definition and calling the alias will generate a new tag every time.

Fixes mdomke#43
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.

gtg-min alias definition resolves tag permanently
1 participant