Skip to content

Commit 7ea9161

Browse files
committed
Makefile: fix scaffold version determinination
1 parent d8274dc commit 7ea9161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GO_BUILD_ARGS should be set when running 'go build' or 'go install'.
22
VERSION_PKG = "$(shell go list -m)/internal/version"
3-
export SCAFFOLD_VERSION = $(shell git describe --abbrev=0)
3+
export SCAFFOLD_VERSION = $(shell git describe --tags --abbrev=0)
44
export GIT_VERSION = $(shell git describe --dirty --tags --always)
55
export GIT_COMMIT = $(shell git rev-parse HEAD)
66
BUILD_DIR = $(PWD)/bin

0 commit comments

Comments
 (0)