Skip to content

Commit

Permalink
Amend/publish workflow (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
mentlak0 authored Jul 7, 2023
1 parent c789d24 commit 51e6784
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 31 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/increment-chart-version.yml

This file was deleted.

21 changes: 20 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,26 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: check source code
uses: actions/checkout@v3

- name: next release version
id: nextversion
uses: jenkins-x-plugins/jx-release-version@v2.6.11
with:
previous-version: from-file:charts/tekton-pipeline/Chart.yaml

- name: Update version in Chart.yaml
id: updatechart
uses: mikefarah/yq@v4.34.1
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:
commit_message: 'chore: update Chart.yaml'

- uses: J12934/helm-gh-pages-action@master
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
Expand Down

0 comments on commit 51e6784

Please sign in to comment.