added version to commit
This commit is contained in:
parent
8a2a7a168f
commit
a65648bd92
1 changed files with 4 additions and 2 deletions
6
.github/workflows/update_versions.yml
vendored
6
.github/workflows/update_versions.yml
vendored
|
|
@ -6,7 +6,9 @@ on:
|
|||
datajson:
|
||||
description: 'Version to update'
|
||||
required: true
|
||||
|
||||
version:
|
||||
description: 'Another version parameter'
|
||||
required: true
|
||||
jobs:
|
||||
update-version:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -30,5 +32,5 @@ jobs:
|
|||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add versions.json
|
||||
git commit -m "Update version"
|
||||
git commit -m "Update version to ${{ github.event.inputs.version }}"
|
||||
git push
|
||||
|
|
|
|||
Loading…
Reference in a new issue