Skip to content

Commit 87b7b18

Browse files
authored
Merge pull request #137 from simon-cj/master
fix: Set tag in publish action
2 parents 8a65f71 + f16fae6 commit 87b7b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
pwd
2929
go env
3030
echo "::set-env name=GOPATH::$(go env GOPATH):$GITHUB_WORKSPACE"
31-
echo "echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}"
31+
echo "echo ::set-env name=RELEASE_VERSION::$(git describe --tags)"
3232
echo "::add-path::$(go env GOPATH)/bin"
3333
- name: before_install
3434
run: |

0 commit comments

Comments
 (0)