From 8c86c486f7354c49f0f7c8ed8c2a485a95b7b9f6 Mon Sep 17 00:00:00 2001 From: Raphael Sousa Santos Date: Fri, 14 Oct 2022 13:56:42 +0200 Subject: [PATCH] fix --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e7bd25..5b5ec76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v2 - name: Prepare tag run: | - export TAG=v$(jq -r '.version' package.json) + export TAG=v$(awk '/libraryVersion =/ { gsub("\"",""); print $3 }' client.go) echo "TAG=$TAG" >> $GITHUB_ENV - name: Setup git run: |