File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
template/.github/workflows Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,7 @@ jobs:
348348 if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
349349 run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
350350 - name: Update version if PR against non-main branch
351+ # For PRs to be merged against a release branch, use the version that has already been set in the calling script.
351352 if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
352353 run: |
353354 MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
@@ -420,6 +421,7 @@ jobs:
420421 if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
421422 run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
422423 - name: Update version if PR against non-main branch
424+ # For PRs to be merged against a release branch, use the version that has already been set in the calling script.
423425 if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
424426 run: |
425427 MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
You can’t perform that action at this time.
0 commit comments