-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 1.09 KB
/
update-app-version.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Update appVersion
on:
workflow_dispatch:
inputs:
distinct_id:
chart:
required: true
description: Path to chart to update
appVersion:
required: true
description: The desired version
jobs:
update:
runs-on: ubuntu-latest
steps:
- 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: pybump set --app-version --set-version ${{ inputs.appVersion }} --file ${{ inputs.chart }}/Chart.yaml
- name: update version
run: pybump bump --level patch --file charts/zaakbrug/Chart.yaml
- uses: stefanzweifel/git-auto-commit-action@v5
release:
uses: ./.github/workflows/release.yml
needs: update