File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 6666 env :
6767 GITHUB_TOKEN : ${{ secrets.APP_INSTALLATION_TOKEN }}
6868 BETA_ARG : ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }}
69- TYPE_ARG : ${{ github.event.inputs.type != 'patch' && format('--increment={0}', github.event.inputs.type) || '' }}
7069 run : |
71- # Let release-it handle version detection and incrementing properly
72- npm run release -- $TYPE_ARG --ci --verbose --no-git.push --no-git.commit --no-git.tag --no-github $BETA_ARG
70+ # Always pass --increment explicitly to ensure version is bumped
71+ npm run release -- --increment=${{ github.event.inputs.type }} --ci --verbose --no-git.push --no-git.commit --no-git.tag --no-github $BETA_ARG
7372
7473 - name : Update version.ts file
7574 working-directory : services/backend
Original file line number Diff line number Diff line change 6565 env :
6666 GITHUB_TOKEN : ${{ secrets.APP_INSTALLATION_TOKEN }}
6767 BETA_ARG : ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }}
68- TYPE_ARG : ${{ github.event.inputs.type != 'patch' && format('--increment={0}', github.event.inputs.type) || '' }}
6968 run : |
70- # Let release-it handle version detection and incrementing properly
71- npm run release -- $TYPE_ARG --ci --verbose --no-git.push --no-git.commit --no-git.tag --no-github $BETA_ARG
69+ # Always pass --increment explicitly to ensure version is bumped
70+ npm run release -- --increment=${{ github.event.inputs.type }} --ci --verbose --no-git.push --no-git.commit --no-git.tag --no-github $BETA_ARG
7271
7372 - name : get-npm-version
7473 id : package-version
Original file line number Diff line number Diff line change 6262 env :
6363 GITHUB_TOKEN : ${{ secrets.APP_INSTALLATION_TOKEN }}
6464 BETA_ARG : ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }}
65- TYPE_ARG : ${{ github.event.inputs.type != 'patch' && format('--increment={0}', github.event.inputs.type) || '' }}
6665 run : |
67- # Let release-it handle version detection and incrementing properly
68- npm run release -- $TYPE_ARG --ci --verbose --no-git.push --no-git.commit --no-git.tag --no-github $BETA_ARG
66+ # Always pass --increment explicitly to ensure version is bumped
67+ npm run release -- --increment=${{ github.event.inputs.type }} --ci --verbose --no-git.push --no-git.commit --no-git.tag --no-github $BETA_ARG
6968
7069 - name : Update version.ts file
7170 working-directory : services/satellite
You can’t perform that action at this time.
0 commit comments