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

If no annotated version tags exists snapshotSuffix and dirtyMarker are ignored #19

Open
deepy opened this issue Aug 31, 2018 · 1 comment

Comments

@deepy
Copy link
Member

deepy commented Aug 31, 2018

This is also an issue if the closest annotated tag is not a semantic version.

Now if git describe only provided SEPARATE exit codes handling this would be easier.

» git describe --dirty --abbrev=7
fatal: No annotated tags can describe '8a999efb9f35b68d9bf36bcb10d4583fcceb6ef9'.
However, there were unannotated tags: try --tags.
» echo $?
128
» git describe --dirty --abbrev=7
fatal: No names found, cannot describe anything.
» echo $?
128
@deepy
Copy link
Member Author

deepy commented Aug 31, 2018

Suggested workaround: push tag 0.0.0 on initial commit.

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

1 participant