Skip to content

Conversation

@nathanperkins
Copy link
Contributor

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

2 participants