From 19a2ce4bc01033891c5935908237a124ed4f9f6f Mon Sep 17 00:00:00 2001 From: Matee ullah Malik Date: Fri, 6 Oct 2023 15:15:24 +0500 Subject: [PATCH] [PSL-1006] fix git tag in circleci --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ec7f53767..8f59d1311 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -123,7 +123,8 @@ commands: export MACOS_ARTIFACT=$WORKING_DIR/<< parameters.package >>-darwin-10.14-amd64 export WINDOWS_ARTIFACT=$WORKING_DIR/<< parameters.package >>-windows-4.0-amd64.exe export LINUX_ARTIFACT=$WORKING_DIR/<< parameters.package >>-linux-amd64 - + + cd ~/go/src/github.com/pastelnetwork/gonode export APP_VERSION=$(git describe --tag) if [ -z "$APP_VERSION" ]; then @@ -134,8 +135,6 @@ commands: echo "APP_VERSION=$APP_VERSION" echo "APP_LDFLAGS=$APP_LDFLAGS" - cd ~/go/src/github.com/pastelnetwork/gonode - xgo -go go-1.21.1 --targets=<< parameters.targets >> -ldflags "$APP_LDFLAGS" github.com/pastelnetwork/gonode/<< parameters.package >> mkdir -p build