We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05883f3 commit f42c3f6Copy full SHA for f42c3f6
Makefile
@@ -2,8 +2,8 @@ PLUGIN_NAME=gatewayd-plugin-cache
2
PROJECT_URL=github.com/gatewayd-io/$(PLUGIN_NAME)
3
CONFIG_PACKAGE=${PROJECT_URL}/plugin
4
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}
+VERSION=$(shell git describe --tags ${LAST_TAGGED_COMMIT})
+EXTRA_LDFLAGS=-X ${CONFIG_PACKAGE}.Version=$(shell echo ${VERSION} | sed 's/^v//')
7
FILES=$(PLUGIN_NAME) checksum.txt gatewayd_plugin.yaml README.md LICENSE
8
9
tidy:
0 commit comments