File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,5 +27,6 @@ function getNextVersion(version) {
2727 const prereleaseNumbers = versions
2828 . filter ( ( v ) => ( v . startsWith ( VERSION ) && v . includes ( '-' ) ) )
2929 . map ( ( v ) => Number ( v . match ( / \. ( \d + ) $ / ) [ 1 ] ) ) ;
30- return `${ version } ` ;
30+ const lastPrereleaseNumber = Math . max ( - 1 , ...prereleaseNumbers ) ;
31+ return `${ version } -beta.${ lastPrereleaseNumber + 1 } ` ;
3132}
Original file line number Diff line number Diff line change 99 push :
1010 branches :
1111 - master
12- - fix/ci
1312 tags-ignore :
1413 - " **" # Ignore all tags to prevent duplicate builds when tags are pushed.
1514
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 - name : Build module
102102 run : npm run build
103103 - name : Publish to NPM
104- run : npm publish
104+ run : npm publish --tag beta
105105
106106env :
107107 NODE_AUTH_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments