Skip to content

Commit

Permalink
Merge pull request #105 from newrelic/jthurman/make-update
Browse files Browse the repository at this point in the history
Allow overriding the version on make
  • Loading branch information
Jonathan Thurman authored Mar 4, 2020
2 parents 7c86533 + 9ee0841 commit 2cb3fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Global vars
#############################
PROJECT_NAME := $(shell basename $(shell pwd))
PROJECT_VER := $(shell git describe --tags --always --dirty | sed -e '/^v/s/^v\(.*\)$$/\1/g') # Strip leading 'v' if found
PROJECT_VER ?= $(shell git describe --tags --always --dirty | sed -e '/^v/s/^v\(.*\)$$/\1/g') # Strip leading 'v' if found
# Last released version (not dirty
PROJECT_VER_TAGGED := $(shell git describe --tags --always --abbrev=0 | sed -e '/^v/s/^v\(.*\)$$/\1/g') # Strip leading 'v' if found
SRCDIR ?= .
Expand Down

0 comments on commit 2cb3fcc

Please sign in to comment.