Skip to content

Commit f42c3f6

Browse files
committed
Fix version issue (part of #80)
1 parent 05883f3 commit f42c3f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ PLUGIN_NAME=gatewayd-plugin-cache
22
PROJECT_URL=github.com/gatewayd-io/$(PLUGIN_NAME)
33
CONFIG_PACKAGE=${PROJECT_URL}/plugin
44
LAST_TAGGED_COMMIT=$(shell git rev-list --tags --max-count=1)
5-
VERSION=$(shell git describe --tags ${LAST_TAGGED_COMMIT}) | sed 's/^v//'
6-
EXTRA_LDFLAGS=-X ${CONFIG_PACKAGE}.Version=${VERSION}
5+
VERSION=$(shell git describe --tags ${LAST_TAGGED_COMMIT})
6+
EXTRA_LDFLAGS=-X ${CONFIG_PACKAGE}.Version=$(shell echo ${VERSION} | sed 's/^v//')
77
FILES=$(PLUGIN_NAME) checksum.txt gatewayd_plugin.yaml README.md LICENSE
88

99
tidy:

0 commit comments

Comments
 (0)