Skip to content

Commit

Permalink
Fix version issue (part of #80)
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Apr 8, 2024
1 parent 05883f3 commit f42c3f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ PLUGIN_NAME=gatewayd-plugin-cache
PROJECT_URL=github.com/gatewayd-io/$(PLUGIN_NAME)
CONFIG_PACKAGE=${PROJECT_URL}/plugin
LAST_TAGGED_COMMIT=$(shell git rev-list --tags --max-count=1)
VERSION=$(shell git describe --tags ${LAST_TAGGED_COMMIT}) | sed 's/^v//'
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//')
FILES=$(PLUGIN_NAME) checksum.txt gatewayd_plugin.yaml README.md LICENSE

tidy:
Expand Down

0 comments on commit f42c3f6

Please sign in to comment.