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