Skip to content

Commit

Permalink
fix: update version in galaxy.yml before build (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Aug 2, 2022
1 parent 3dcda90 commit 86d19b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-ansible-collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
- name: Install Ansible
run: |
python -m pip install ansible>=2
- name: Update version
run: |
VERSION=${GITHUB_REF#refs/tags/v}
sed -i -e "s/version: 0.0.0/${VERSION}" galaxy.yaml
- name: Build collection
run: |
ansible-galaxy collection build
Expand Down

0 comments on commit 86d19b3

Please sign in to comment.