File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 2929 - name : Build
3030 run : pnpm build -a
3131
32+ - name : Set .npmrc for publish
33+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./.npmrc
34+
3235 - name : Publish
3336 run : pnpm publish:ci
34- env :
35- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 4040 with :
4141 tag_name : ${{ github.ref }}
4242 release_name : Release ${{ github.ref }}
43- body : |
44- Please refer to [CHANGELOG.md](https://github.com/axios-miniprogram/core/blob/main/CHANGELOG.md) for details.
43+ body : ' CHANGELOG.md'
4544 prerelease : ${{ steps.prerelease.outputs.result }}
4645
4746 - name : Build Release Asset
Original file line number Diff line number Diff line change 1+ shell-emulator = true
Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ function createReleases() {
9595 [ 'patch' ] ,
9696 [ 'minor' ] ,
9797 [ 'major' ] ,
98- [ 'prepatch' , 'alpha ' ] ,
99- [ 'preminor' , 'alpha ' ] ,
100- [ 'premajor' , 'alpha ' ] ,
101- [ 'prerelease' , 'alpha ' ] ,
98+ [ 'prepatch' , 'beta ' ] ,
99+ [ 'preminor' , 'beta ' ] ,
100+ [ 'premajor' , 'beta ' ] ,
101+ [ 'prerelease' , 'beta ' ] ,
102102 ] ;
103103 const releases : string [ ] = [ ] ;
104104 for ( const [ type , preid ] of types ) {
You can’t perform that action at this time.
0 commit comments