Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #7 from jrasell/use-last-tag-local-build-version
Browse files Browse the repository at this point in the history
When building locally, the version should be based on the last tag
  • Loading branch information
jrasell committed May 26, 2019
2 parents 082fecf + 2a7ce50 commit 736b16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tools: ## Install the tools used to test and build

build: ## Build Sherpa for development purposes
@echo "==> Running $@..."
govvv build -o sherpa ./cmd -version local -pkg github.com/jrasell/sherpa/pkg/build
govvv build -o sherpa ./cmd -version $(shell git describe --tags --abbrev=0 $(git rev-list --tags --max-count=1) |cut -c 2- |awk '{print $1}')+dev -pkg github.com/jrasell/sherpa/pkg/build

test: ## Run the Sherpa test suite with coverage
@echo "==> Running $@..."
Expand Down

0 comments on commit 736b16b

Please sign in to comment.