From e551c8d86b1e7d5bd4220250d2cdfe63d82c1440 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:33:54 -0400 Subject: [PATCH] Release v0.11.10 (#1352) Co-authored-by: michaeljguarino Co-authored-by: michaeljguarino --- .github/workflows/publish.yaml | 10 +++++++++- plural/manifests/context.yaml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5aec82538..00cfa0b8f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -315,14 +315,22 @@ jobs: with: persist-credentials: false fetch-depth: 0 # otherwise, you will failed to push refs to dest repo + - id: semver + uses: actions/github-script@0.9.0 + env: + REF_NAME: ${{ github.ref_name }} + with: + script: | + core.setOutput('formatted', process.env.REF_NAME.replace(/^v/, "")) - name: update context run: | - sed -i 's/version: .* # VERSION/version: ${{github.ref_name}} # VERSION/' plural/manifests/context.yaml + sed -i 's/version: .* # VERSION/version: ${{steps.semver.outputs.formatted}} # VERSION/' plural/manifests/context.yaml - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: title: Release ${{github.ref_name}} body: Automated Pull Request to release ${{github.ref_name}} commit-message: Updated chart to release ${{github.ref_name}} + branch: release-${{github.ref_name}} labels: release base: master diff --git a/plural/manifests/context.yaml b/plural/manifests/context.yaml index 9312d5c6d..4bf313114 100644 --- a/plural/manifests/context.yaml +++ b/plural/manifests/context.yaml @@ -7,4 +7,4 @@ spec: name: plural namespace: infra context: - version: 0.11.9 # VERSION \ No newline at end of file + version: 0.11.10 # VERSION \ No newline at end of file