Skip to content

Commit e551c8d

Browse files
Release v0.11.10 (#1352)
Co-authored-by: michaeljguarino <[email protected]> Co-authored-by: michaeljguarino <[email protected]>
1 parent 8b26d12 commit e551c8d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/publish.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,22 @@ jobs:
315315
with:
316316
persist-credentials: false
317317
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
318+
- id: semver
319+
uses: actions/[email protected]
320+
env:
321+
REF_NAME: ${{ github.ref_name }}
322+
with:
323+
script: |
324+
core.setOutput('formatted', process.env.REF_NAME.replace(/^v/, ""))
318325
- name: update context
319326
run: |
320-
sed -i 's/version: .* # VERSION/version: ${{github.ref_name}} # VERSION/' plural/manifests/context.yaml
327+
sed -i 's/version: .* # VERSION/version: ${{steps.semver.outputs.formatted}} # VERSION/' plural/manifests/context.yaml
321328
- name: Create Pull Request
322329
uses: peter-evans/create-pull-request@v5
323330
with:
324331
title: Release ${{github.ref_name}}
325332
body: Automated Pull Request to release ${{github.ref_name}}
326333
commit-message: Updated chart to release ${{github.ref_name}}
334+
branch: release-${{github.ref_name}}
327335
labels: release
328336
base: master

plural/manifests/context.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ spec:
77
name: plural
88
namespace: infra
99
context:
10-
version: 0.11.9 # VERSION
10+
version: 0.11.10 # VERSION

0 commit comments

Comments
 (0)