-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: michaeljguarino <[email protected]> Co-authored-by: michaeljguarino <[email protected]>
- Loading branch information
1 parent
8b26d12
commit e551c8d
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ spec: | |
name: plural | ||
namespace: infra | ||
context: | ||
version: 0.11.9 # VERSION | ||
version: 0.11.10 # VERSION |