Skip to content

Commit 6d88202

Browse files
authored
ci: Fixed release publish job (#161)
1 parent 131358d commit 6d88202

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Get release tag
2727
id: release_tag
2828
run: |
29-
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
29+
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//:1}
3030
- name: Build and publish
3131
env:
3232
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
@@ -70,7 +70,7 @@ jobs:
7070
- name: Get release tag
7171
id: release_tag
7272
run: |
73-
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
73+
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//:1}
7474
- name: Build and publish
7575
env:
7676
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}

0 commit comments

Comments
 (0)