Skip to content

Commit

Permalink
chore: publish 1.x NPM packages with the v1 tag (#11188)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Oct 15, 2024
1 parent 36ea786 commit 7b0aac9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"pipe": true
},
{
"command": "yarn publish --access public --loglevel silly",
"command": "yarn publish --access public --loglevel silly --tag v1",
"dryRunCommand": "npm publish --dry-run --access public",
"pipe": true
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ jobs:
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish
npm publish --tag v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion tooling/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"scripts": {
"build": "rollup -c --configPlugin typescript",
"npm-pack": "yarn build && cd ./dist && npm pack",
"npm-publish": "yarn build && cd ./dist && yarn publish --access public --loglevel silly",
"npm-publish": "yarn build && cd ./dist && yarn publish --access public --loglevel silly --tag v1",
"ts:check": "tsc -noEmit",
"lint": "eslint --ext ts \"./src/**/*.ts\"",
"lint:fix": "eslint --fix --ext ts \"./src/**/*.ts\"",
Expand Down

0 comments on commit 7b0aac9

Please sign in to comment.