diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0a9f2f..baa1304 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 }}