Skip to content

Update appVersion

Update appVersion #48

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:

Check failure on line 31 in .github/workflows/update-app-version.yml

View workflow run for this annotation

GitHub Actions / Update appVersion

Invalid workflow file

The workflow is not valid. .github/workflows/update-app-version.yml (Line: 31, Col: 5): Unexpected value 'release'
uses: ./.github/workflows/release.yml
needs: update