diff --git a/.github/workflows/update-app-version.yml b/.github/workflows/update-app-version.yml index e44c628..063637f 100644 --- a/.github/workflows/update-app-version.yml +++ b/.github/workflows/update-app-version.yml @@ -1,4 +1,4 @@ -name: update appVersion +name: Update appVersion on: workflow_dispatch: inputs: @@ -17,11 +17,12 @@ jobs: 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 }} + - name: Install PyBump + run: pip install pybump + - name: The chart ${{ github.event.inputs.chart }} will be updated to appVersion ${{ github.event.inputs.appVersion }} and automatically bumped run: echo The chart ${{ github.event.inputs.chart }} will be updated to appVersion ${{ github.event.inputs.appVersion }} - name: update appVersion - run: echo WIP + run: pybump set --app-version --set-version ${{ github.event.inputs.chart }} --file ${{ github.event.inputs.appVersion }}/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