Skip to content

Commit bb8e1a6

Browse files
committed
ci: ensure unique names of python packages for PyPI upload.
1 parent 3ba7006 commit bb8e1a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/aries.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,14 @@ jobs:
309309
with:
310310
name: up_aries.tar.gz
311311
path: dist/
312+
- name: Rename python package with version
313+
run: mv dist/up_aries.tar.gz dist/up_aries-${{github.ref_name}}.tar.gz
312314

313315
- name: Display artifacts
314316
run: ls -R
315317

316318
- name: Publish package to PyPI
317319
uses: pypa/gh-action-pypi-publish@release/v1.6
318-
319320
with:
320321
password: ${{ secrets.PYPI_TOKEN }}
321322
packages_dir: dist

0 commit comments

Comments
 (0)