From 72052f97a0a93c79f5359892e11b718cfe680f75 Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Mon, 25 Nov 2019 13:34:49 -0800 Subject: [PATCH] fix version setting --- .metadata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.metadata.sh b/.metadata.sh index 4b7241e8..a6c7f5a4 100755 --- a/.metadata.sh +++ b/.metadata.sh @@ -35,7 +35,7 @@ URL="${SOURCE_URL}" # This parameter is passed in as -X to go build. Used to override the Version variable in a package. # This makes a path like github.com/user/hello-world/helloworld.Version=1.3.3 # Name the Version-containing library the same as the github repo, without dashes. -VERSION_PATH="${IMPORT_PATH}/$(echo ${BINARY} | tr -d -- -).Version" +VERSION_PATH="${IMPORT_PATH}/poller.Version" # Dynamic. Recommend not changing. VVERSION=$(git describe --abbrev=0 --tags $(git rev-list --tags --max-count=1))