diff --git a/.zuul.yaml b/.zuul.yaml index aacb074..c03f412 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -44,9 +44,9 @@ - job: name: publish-skyline-python-branch-tarball - parent: publish-openstack-python-branch-tarball + parent: publish-openstack-artifacts description: | - Publish the results of the tox-tarball job to tarballs.openstack.org. + Publish the results tar.gz and whl packages to tarballs.openstack.org. pre-run: playbooks/python-tarball/pre.yaml run: playbooks/python-tarball/run.yaml post-run: playbooks/python-tarball/post.yaml diff --git a/playbooks/python-tarball/post.yaml b/playbooks/python-tarball/post.yaml index fdd48e9..80630e7 100644 --- a/playbooks/python-tarball/post.yaml +++ b/playbooks/python-tarball/post.yaml @@ -3,7 +3,7 @@ - fetch-python-sdist-output pre_tasks: - name: Rename whl files to branch specific name - shell: "mv {{ item }}.*.whl {{ item }}-{{ zuul.branch | replace('/', '-') }}.whl" + shell: "mv {{ item }}*.whl {{ item }}-{{ zuul.branch | replace('/', '-') }}.whl" args: chdir: "src/{{ zuul.project.canonical_name }}/dist" with_items: @@ -15,7 +15,7 @@ - "skyline_nginx" - "skyline_policy_manager" - name: Rename tar.gz files to branch specific name - shell: "mv {{ item }}.*.tar.gz {{ item }}-{{ zuul.branch | replace('/', '-') }}.tar.gz" + shell: "mv {{ item }}*.tar.gz {{ item }}-{{ zuul.branch | replace('/', '-') }}.tar.gz" args: chdir: "src/{{ zuul.project.canonical_name }}/dist" with_items: