Skip to content

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
agaffney committed Dec 12, 2023
1 parent 31f13eb commit 5c09b0a
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 @@ -19,7 +19,7 @@ jobs:

- name: Get current version
id: cversion
run: echo "::set-output name=version::$(grep version galaxy.yml | awk -F'"' '{ print $2 }')"
run: echo "::set-output name=version::$(grep version galaxy.yml | sed -e 's:^.* ::')"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down Expand Up @@ -68,5 +68,5 @@ jobs:
asset_content_type: application/tar+gzip

- name: Publish Ansible collection to Galaxy
run: ansible-galaxy collection publish blinklabs-cardano-${{ steps.cversion.outputs.version }}.tar.gz --api-key ${{ secrets.GALAXYDEV_API_KEY }} --server https://galaxy-dev.ansible.com/
run: ansible-galaxy collection publish blinklabs-cardano-${{ steps.cversion.outputs.version }}.tar.gz --api-key ${{ secrets.GALAXYSTAGE_API_KEY }} --server https://galaxy-stage.ansible.com/
#run: ansible-galaxy collection publish blinklabs-cardano-${{ steps.cversion.outputs.version }}.tar.gz --api-key ${{ secrets.GALAXY_API_KEY }}

0 comments on commit 5c09b0a

Please sign in to comment.