Skip to content

Commit f16fae6

Browse files
committed
fix: Set tag in publish action
1 parent 8a65f71 commit f16fae6

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)