diff options
author | Shane McDonald <me@shanemcd.com> | 2024-04-10 18:09:50 +0200 |
---|---|---|
committer | Shane McDonald <me@shanemcd.com> | 2024-04-10 18:12:35 +0200 |
commit | 778961d31e1ef986ea308348e2ee7f6bc344ab30 (patch) | |
tree | 1521ec659d0513e6eb9aec52e5ca2190ace51f2a /.github | |
parent | Allow for manually restarting promote workflow (diff) | |
download | awx-778961d31e1ef986ea308348e2ee7f6bc344ab30.tar.xz awx-778961d31e1ef986ea308348e2ee7f6bc344ab30.zip |
Fix awxkit uploads when re-running promote workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/promote.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index e9ed8d7408..51e41fe77a 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -57,7 +57,6 @@ jobs: - name: Build collection and publish to galaxy env: COLLECTION_NAMESPACE: ${{ env.collection_namespace }} - COLLECTION_VERSION: ${{ env.TAG_NAME }} COLLECTION_TEMPLATE_VERSION: true run: | make build_collection @@ -80,6 +79,8 @@ jobs: if: ${{ github.repository_owner != 'ansible' }} - name: Build awxkit and upload to pypi + env: + SETUPTOOLS_SCM_PRETEND_VERSION: ${{ env.TAG_NAME }} run: | git reset --hard cd awxkit && python3 setup.py sdist bdist_wheel |