Skip to content

Commit a45f5f5

Browse files
committed
Fix the Version of the binary
1 parent a8d65d2 commit a45f5f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PKG := github.com/outscale-dev/osc-bsu-csi-driver
2525
IMAGE := osc/osc-ebs-csi-driver
2626
IMAGE_TAG ?= $(shell git describe --exact-match 2> /dev/null || \
2727
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
28-
VERSION := ${IMAGE_TAG}
28+
VERSION ?= ${IMAGE_TAG}
2929
GIT_COMMIT ?= $(shell git rev-parse HEAD)
3030
BUILD_DATE ?= $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
3131
LDFLAGS ?= "-X ${PKG}/pkg/util.driverVersion=${VERSION} -X ${PKG}/pkg/util.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/util.buildDate=${BUILD_DATE}"

0 commit comments

Comments
 (0)