File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,11 @@ jobs:
4242 - name : Write version
4343 run : |
4444 VERSION=$(yq '.info.version' openapi.yaml | tr -d '"')
45- jq --arg version "$VERSION" '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
46-
47- - name : Set up .npmrc
48- run : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
49- env :
50- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
45+ jq --arg version "${VERSION}.alpha.0" '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
5146
5247 - name : Release
53- run : pnpm publish --tag next --publish-branch v2 --no-git-checks
48+ run : |
49+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
50+ pnpm publish --tag next --publish-branch v2 --no-git-checks
51+ env :
52+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments