From d4371cc03d15cd754f5c40634bf5edd90ab35ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=AD=E6=96=87?= <987146971@qq.com> Date: Thu, 2 Feb 2023 16:44:07 +0800 Subject: [PATCH] Update goreleaser.yml --- .github/workflows/goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index c0018da..586e1cb 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -23,7 +23,7 @@ jobs: - name: Create Tag run: | version=`./bin/wfrpc --version` - if ! git tag -l $version == $version; then + if [ ! $(git tag -l $version) ]; then git tag $version git push origin $version fi