Skip to content

Commit a4fb6ba

Browse files
committed
fix: clean up npm publish process in release workflow
- Remove any existing .tgz files before publishing to ensure a clean release.
1 parent 71a2c4e commit a4fb6ba

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,6 @@ jobs:
7575

7676
- name: Publish to npm (trusted publishing)
7777
if: ${{ !contains(github.ref, '-') }}
78-
run: npm publish --access public --provenance
78+
run: |
79+
rm -f *.tgz
80+
npm publish --access public --provenance

0 commit comments

Comments
 (0)