Skip to content

Conversation

rahrah
Copy link
Contributor

@rahrah rahrah commented Jun 4, 2018

Users should get version number from git rather than a
possibly non-existent environment variable.

Users should get version number from git rather than a
possibly non-existent environment variable.
@rahrah
Copy link
Contributor Author

rahrah commented Jun 4, 2018

Just a thought re having version numbers in user built versions regardless of having travis.

===R

@jnavila
Copy link
Member

jnavila commented Jun 7, 2018

Why not mix both sources? Get the string version from Travis, and if it fails, use git describe.

Get version number from git if travis envvar
not set. Default to 0 if all fails.
@rahrah
Copy link
Contributor Author

rahrah commented Jun 7, 2018

How does this look??

:-)

===Rich

@ben ben merged commit 64631d8 into progit:master Jun 7, 2018
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.

3 participants