Skip to content

Commit 20d8f8c

Browse files
committed
ci: fix release publish access and tag matcher
1 parent 5a03af9 commit 20d8f8c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ jobs:
4444
run: pnpm test
4545

4646
- name: Publish package
47-
run: npm publish --provenance
47+
run: npm publish --provenance --access public
4848
env:
4949
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/tag-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Create and push tag for release commits
2121
run: |
2222
MESSAGE="${{ github.event.head_commit.message }}"
23-
if [[ "$MESSAGE" != chore\(release\):\ v* ]]; then
23+
if [[ ! "$MESSAGE" =~ ^chore\(release\):\ v ]]; then
2424
echo "Not a release commit; skipping"
2525
exit 0
2626
fi

0 commit comments

Comments
 (0)