Skip to content

Commit 6731542

Browse files
committed
fix(ci): remove v from version number when publishing to PyPI
1 parent 011b676 commit 6731542

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/aries.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,10 @@ jobs:
376376
name: up_aries.tar.gz
377377
path: dist/
378378
- name: Rename python package with version
379-
run: mv dist/up_aries.tar.gz dist/up_aries-${{github.ref_name}}.tar.gz
379+
run: |
380+
TAG=${{github.ref_name}}
381+
VERSION="${TAG:1}" # remove the `v` in `v0.3.5`
382+
mv dist/up_aries.tar.gz dist/up_aries-${VERSION}.tar.gz
380383
381384
- name: Display artifacts
382385
run: ls -R

0 commit comments

Comments
 (0)