From cbc6dabfb1db24dd6d323f789adc4d58de1086de Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Mon, 25 Nov 2019 13:34:49 -0800 Subject: [PATCH] fix version setting --- integrations/inputunifi/.metadata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/inputunifi/.metadata.sh b/integrations/inputunifi/.metadata.sh index 4b7241e8..a6c7f5a4 100755 --- a/integrations/inputunifi/.metadata.sh +++ b/integrations/inputunifi/.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))