'Fixed' Galaxy commit step (#10)
This commit is contained in:
parent
dbd9874ef0
commit
a111310bae
|
|
@ -9,15 +9,21 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: main
|
||||||
|
token: ${{ secrets.DEVOPS_BOT_PAT }}
|
||||||
|
|
||||||
- name: Update version
|
- name: Update version
|
||||||
run: |
|
run: |
|
||||||
echo "Updating version"
|
echo "Updating version"
|
||||||
sed -i "s/version: .*/version: ${{ github.event.release.tag_name }}/g" galaxy.yml
|
sed -i "s/version: .*/version: ${{ github.event.release.tag_name }}/g" galaxy.yml
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: "Update version to ${{ github.event.release.tag_name }}"
|
commit_message: "Update galaxy.yml version to ${{ github.event.release.tag_name }}"
|
||||||
branch: "main"
|
branch: "main"
|
||||||
|
file_pattern: "galaxy.yml"
|
||||||
|
push_options: --force
|
||||||
|
|
||||||
ansible-publish:
|
ansible-publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue