Skip to content

Commit ce1d394

Browse files
authored
Use "npm dist-tag add" instead of "yarn tag add" (codex-team#1693)
* Use "npm dist-tag add" instead of "yarn tag add" `yarn tag add` somehow throws an error for existing versions, but `npm dist-tag add` works correctly. resolve codex-team#1692 * Remove space
1 parent 041470d commit ce1d394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-package-to-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: Add LATEST tag for the published package if this is not a prerelease version
4141
if: github.event.release.prerelease != true
42-
run: yarn tag add ${{ steps.package.outputs.name }}@${{ steps.package.outputs.version }} latest
42+
run: npm dist-tag add ${{ steps.package.outputs.name }}@${{ steps.package.outputs.version }} latest
4343
env:
4444
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4545

0 commit comments

Comments
 (0)