Dax Raad 8 months ago
parent
commit
a1ce35c208
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/publish.yml

+ 1 - 1
.github/workflows/publish.yml

@@ -43,7 +43,7 @@ jobs:
       - name: Publish
         run: |
           bun install
-          if [[ "${{ github.ref }}" == refs/tags/* ]]; then
+          if [ "${{ startsWith(github.ref, 'refs/tags/') }}" = "true" ]; then
             ./script/publish.ts
           else
             ./script/publish.ts --snapshot