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

automatic version based on git tag #22

Merged
merged 1 commit into from
Nov 12, 2015

Conversation

keis
Copy link
Collaborator

@keis keis commented Nov 12, 2015

Update makefile to set current version based on information in git. If
the current commit has a signed tag "v1.2.3" the current version will be
set to "1.2.3". If there is no tag for the current a version string
based on the latest tag as per git describe will be used.

Also sets a build date for good measure

@keis
Copy link
Collaborator Author

keis commented Nov 12, 2015

Example command to use to tag stuff

git tag -s v0.2.0 HEAD -m "Version 0.2.0"

@alde
Copy link
Contributor

alde commented Nov 12, 2015

Seems like this doesn't work with 1.4, but we could drop support for that, just make a note in the readme about Go version 1.5+

@keis keis force-pushed the automatic-version branch 2 times, most recently from 49cfed2 to a0138f3 Compare November 12, 2015 12:41
Update makefile to set current version based on information in git. If
the current commit has a signed tag "v1.2.3" the current version will be
set to "1.2.3". If there is no tag for the current a version string
based on the latest tag as per `git describe` will be used.

Also sets a build date for good measure
@keis keis force-pushed the automatic-version branch from a0138f3 to f804cd5 Compare November 12, 2015 12:42
keis added a commit that referenced this pull request Nov 12, 2015
automatic version based on git tag
@keis keis merged commit ed970da into eremetic-framework:master Nov 12, 2015
@keis keis deleted the automatic-version branch November 20, 2015 11:04
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.

2 participants