From 89c386a7b8629a178b2784cb2c73e861a9d2be39 Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Thu, 5 Dec 2024 14:50:45 +0100 Subject: [PATCH] add PR as package info suffix --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f68ea341..eb900aae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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: |