Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MIGRATE_BIN := $(GO_BIN)/migrate
# VERSION_GO_FILE is the golang file which defines the current project version.
VERSION_GO_FILE := "version.go"

COMMIT := $(shell git describe --tags --dirty --always)
COMMIT := $(shell git describe --tags --match 'v*' --dirty --always)

GOBUILD := go build -v
GOINSTALL := go install -v
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function check_tag_correct() {
fi

# If a tag is specified, ensure that that tag is present and checked out.
if [[ $tag != $(git describe --tags) ]]; then
if [[ $tag != $(git describe --tags --match 'v*') ]]; then
red "tag $tag not checked out"
exit 1
else
Expand Down