mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
chore: publish 1.x NPM packages with the v1 tag (#11188)
This commit is contained in:
committed by
GitHub
parent
36ea78613d
commit
7b0aac9129
@@ -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
|
||||
},
|
||||
|
||||
2
.github/workflows/publish-cli-js.yml
vendored
2
.github/workflows/publish-cli-js.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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\"",
|
||||
|
||||
Reference in New Issue
Block a user