Skip to content

Amend/resolvers deploy #19

Amend/resolvers deploy

Amend/resolvers deploy #19

name: Increment Version
on:
pull_request_target:
branches:
- main
types: [closed]
jobs:
build:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: check source code
uses: actions/checkout@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
ref: ${{ github.head_ref }}
- name: next release version
id: nextversion
uses: jenkins-x-plugins/[email protected]
with:
previous-version: from-file:charts/tekton-pipeline/Chart.yaml
- name: Update version in Chart.yaml
id: updatechart
uses: mikefarah/[email protected]
with:
cmd: yq eval '.version = "${{ steps.nextversion.outputs.version }}"' -i charts/tekton-pipeline/Chart.yaml
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: 'chore: update Chart.yaml'