Skip to content

Commit

Permalink
Fix promote pypi version check (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
matoval authored May 9, 2024
1 parent cb34c36 commit 53617ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: ${{ github.repository_owner != 'ansible' }}

- name: Set receptor pypi version
run: echo RECEPTORCTL_PYPI_VERSION=$(curl --silent https://pypi.org/pypi/receptorctl/json | jq --raw-output '.info.version') >> $GITHUB_ENV
run: echo RECEPTORCTL_PYPI_VERSION=$(curl --silent https://pypi.org/pypi/receptorctl/json | jq --raw-output '"v" + .info.version') >> $GITHUB_ENV

- name: Build receptorctl and upload to pypi
if: ${{ 'v%{env.RECEPTORCTL_PYPI_VERSION}' != env.TAG }}
Expand Down

0 comments on commit 53617ea

Please sign in to comment.