Skip to content

Commit

Permalink
fix(gha): release: fix tag parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
huyz committed Feb 25, 2023
1 parent 93de121 commit a69b373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# run: ansible-playbook -i 'localhost,' galaxy-deploy.yml -e "github_tag=${{ github.ref }}"

- name: Get the version name from the tags
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_ENV"
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\/v/}" >> "$GITHUB_ENV"

- name: Build collection and publish to Galaxy
uses: artis3n/ansible_galaxy_collection@v2
Expand Down

0 comments on commit a69b373

Please sign in to comment.