We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b7c3fb commit 58ee9d0Copy full SHA for 58ee9d0
.github/workflows/build.yml
@@ -345,7 +345,8 @@ jobs:
345
crate: cargo-edit
346
bin: cargo-set-version
347
- name: Update version if PR
348
- if: ${{ github.event_name == 'pull_request' }}
+ # For PRs to be merged against a release branch, the version has already been set, in which case ignore this step.
349
+ if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
350
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
351
352
# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the
0 commit comments