Skip to content

Commit

Permalink
Update publish_ansible_collection.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kvelarde-itential authored Jun 27, 2024
1 parent c3e9cd7 commit f9e5959
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish_ansible_collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ jobs:
echo "Updating version to ${{env.GALAXY_VERSION}} in galaxy.yml"
sed -i 's/\(version:\) .*/\1 ${{env.GALAXY_VERSION}}/g' galaxy.yml
git add galaxy.yml
git commit -m "Update galaxy version"
- name: Update changelog
run: |
python scripts/changelog.py > CHANGELOG.md
git add CHANGELOG.md
- name: Commit changes
run: |
git commit -m "Update galaxy version and changelog for release ${{env.GALAXY_VERSION}}"
git push origin HEAD:main
- name: Build collection
run: ansible-galaxy collection build
Expand Down

0 comments on commit f9e5959

Please sign in to comment.