Commit 1cc78bc

Anton Golub <antongolub@antongolub.com>
2025-06-24 23:31:19
ci: update release cond (#1244)
v7
1 parent fe1646a
Changed files (2)
.github/workflows/v7-publish.yml
@@ -7,7 +7,7 @@ on:
 
 jobs:
   publish:
-    if: github.ref == 'refs/heads/v7'
+    if: github.event_name == 'release' || github.ref == 'refs/heads/v7'
     runs-on: ubuntu-latest
     permissions:
       checks: read
@@ -29,4 +29,4 @@ jobs:
       - run: echo "//wombat-dressing-room.appspot.com/:_authToken=$AUTH_TOKEN" >> .npmrc
         env:
           AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
-      - run: npm publish --provenance --access=public --no-git-tag-version --tag v7
+      - run: npm publish --provenance --access=public --no-git-tag-version --tag v-7
README.md
@@ -37,7 +37,7 @@ gives sensible defaults.
 ## Install
 
 ```bash
-npm install zx
+npm install zx@7 # or npm install zx@v-7
 ```
 **Requirement**: Node.js >= 16.0.0