Skip to content

Commit

Permalink
add PR as package info suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
adwk67 committed Dec 5, 2024
1 parent bf3d163 commit 89c386a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
run: |
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
PR_VERSION="${MANIFEST_VERSION}-pr${{ github.event.pull_request.number }}"
PR_VERSION="${MANIFEST_VERSION}+pr${{ github.event.pull_request.number }}"
cargo set-version --offline --workspace "$PR_VERSION"
# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the
Expand Down Expand Up @@ -423,7 +423,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
run: |
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
PR_VERSION="${MANIFEST_VERSION}-pr${{ github.event.pull_request.number }}"
PR_VERSION="${MANIFEST_VERSION}+pr${{ github.event.pull_request.number }}"
cargo set-version --offline --workspace "$PR_VERSION"
- name: Build manifest list
run: |
Expand Down

0 comments on commit 89c386a

Please sign in to comment.