Skip to content

Commit

Permalink
git tag make file tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Clifford committed Jan 5, 2021
1 parent 3fcddda commit a8ab9b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ local-build-darwin: pre-build
release-test: pre-build
goreleaser release --skip-publish --skip-sign --rm-dist

test-current-tag-version:
CURRENT=$(shell git describe --abbrev=0 --tags)

test-increment-version:
RELEASE_TAG=$(shell ${PWD}/increment_version.sh -p $(shell git describe --abbrev=0 --tags))

# Ref: https://github.com/fmahnke/shell-semver
release-patch:
$(eval VERSION=$(shell ${PWD}/increment_version.sh -p $(shell git describe --abbrev=0 --tags)))
Expand Down

0 comments on commit a8ab9b1

Please sign in to comment.