Skip to content

Commit

Permalink
release workflow work (#83)
Browse files Browse the repository at this point in the history
* still tweaking release workflow
  • Loading branch information
djdanielsson authored Jun 7, 2023
1 parent 87fac54 commit 2be1635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: pip install --upgrade ansible-core

- name: Update version in galaxy.yml
run: sed -i 's/version:/version:{{:dumb_space_issue:}}${{ github.ref }}/'; sed -i 's/{{:dumb_space_issue:}}/ /'
run: sed -i 's/version:/version:{{:dumb_space_issue:}}${{ github.ref_name }}/' galaxy.yml; sed -i 's/{{:dumb_space_issue:}}/ /' galaxy.yml

- name: Build collection
run: ansible-galaxy collection build -vvv
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
run: pip install --upgrade ansible-core antsibull-changelog

- name: Update version in galaxy.yml
run: sed -i 's/version:/version:{{:dumb_space_issue:}}${{ github.ref }}/'; sed -i 's/{{:dumb_space_issue:}}/ /'
run: sed -i 's/version:/version:{{:dumb_space_issue:}}${{ github.ref_name }}/' galaxy.yml; sed -i 's/{{:dumb_space_issue:}}/ /' galaxy.yml

- name: Run changelog
run: antsibull-changelog release --verbose --version ${{ github.ref }}
Expand Down

0 comments on commit 2be1635

Please sign in to comment.