Skip to content

Build: use VERSION if provided or fallback to git tag --describe - #800

Merged
mattfarina merged 1 commit into
Masterminds:masterfrom
BlackYoup:master
Apr 11, 2017
Merged

Build: use VERSION if provided or fallback to git tag --describe#800
mattfarina merged 1 commit into
Masterminds:masterfrom
BlackYoup:master

Conversation

@BlackYoup

Copy link
Copy Markdown
Contributor

Hi,

I'm packaging this software for a source based distribution (Exherbo). During the compilation, we are not in a git repository (I use Github tarball). Because of that, the $(shell git tag --describe) will emit an error even if I pass the VERSION to make like: make build VERSION=0.12.3

The error is harmless and the build still succeed but it can make the user think that the compilation will fail :-)

@mattfarina
mattfarina merged commit 7212f9e into Masterminds:master Apr 11, 2017
@mattfarina

Copy link
Copy Markdown
Member

Thanks for the contribution.

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