Skip to content

Commit

Permalink
Release v0.11.10 (#1352)
Browse files Browse the repository at this point in the history
Co-authored-by: michaeljguarino <michaeljguarino@users.noreply.github.com>
Co-authored-by: michaeljguarino <mjg@plural.sh>
  • Loading branch information
3 people authored Aug 28, 2024
1 parent 8b26d12 commit e551c8d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion plural/manifests/context.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
name: plural
namespace: infra
context:
version: 0.11.9 # VERSION
version: 0.11.10 # VERSION

0 comments on commit e551c8d

Please sign in to comment.