Skip to content

Commit

Permalink
Merge pull request #678 from pastelnetwork/PSL-1006
Browse files Browse the repository at this point in the history
[PSL-1006] fix git tag in circleci
  • Loading branch information
mateeullahmalik authored Oct 6, 2023
2 parents 4466864 + 19a2ce4 commit 701e37b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 701e37b

Please sign in to comment.