Skip to content

Commit

Permalink
chore: add pybump and commit
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsens committed Sep 13, 2023
1 parent 558d96c commit 272ed06
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/update-app-version.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: update appVersion
name: Update appVersion
on:
workflow_dispatch:
inputs:
Expand All @@ -15,13 +15,16 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- name: echo distinct ID ${{ github.event.inputs.distinct_id }}
run: echo ${{ github.event.inputs.distinct_id }}
- name: echo actor
run: echo ${{ github.actor }}
- name: The chart ${{ github.event.inputs.chart }} will be updated to appVersion ${{ github.event.inputs.appVersion }}
run: echo The chart ${{ github.event.inputs.chart }} will be updated to appVersion ${{ github.event.inputs.appVersion }}
- name: echo distinct ID ${{ inputs.distinct_id }}
run: echo ${{ inputs.distinct_id }}
- name: Checkout
uses: actions/checkout@v3
- name: Install PyBump
run: pip install pybump
- name: The chart ${{ inputs.chart }} will be updated to appVersion ${{ inputs.appVersion }} and automatically bumped
run: echo The chart ${{ inputs.chart }} will be updated to appVersion ${{ inputs.appVersion }}
- name: update appVersion
run: echo WIP
run: pybump set --app-version --set-version ${{ inputs.appVersion }} --file ${{ inputs.chart }}/Chart.yaml
- name: update version
run: echo WIP
run: pybump bump --level patch --file charts/zaakbrug/Chart.yaml
# - uses: stefanzweifel/git-auto-commit-action@v4

0 comments on commit 272ed06

Please sign in to comment.