File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33 push :
44 tags :
55 - v1.*
6+ - v2.*
67jobs :
78 build :
89 runs-on : ubuntu-latest
1819 - run : yarn install --immutable
1920 - run : yarn build
2021 - run : npm pack
21- - run : npm publish --access=public
22+ - name : Publish release
23+ if : " !contains(github.ref, '-rc.')"
24+ run : npm publish --access=public
25+ env :
26+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
27+ - name : Publish release candidate
28+ if : contains(github.ref, '-rc.')
29+ run : npm publish --access=public --tag next
2230 env :
2331 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " @povio/openapi-codegen-cli" ,
3- "version" : " 1.2.12 " ,
3+ "version" : " 2.0.0-rc.0 " ,
44 "main" : " ./dist/index.js" ,
55 "types" : " ./dist/index.d.ts" ,
66 "bin" : {
You can’t perform that action at this time.
0 commit comments