Skip to content

Commit d325a86

Browse files
committed
#new-release -> <new-release:0.0.6>
1 parent 086bb9a commit d325a86

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
pip install build
2525
- name: Build package
2626
env:
27-
PACKAGE_VERSION: ${GITHUB_REF##*/}
27+
PACKAGE_VERSION: $GITHUB_REF
2828
run: |
2929
python -m build
3030
- name: Publish package

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "permify"
25-
VERSION = os.environ.get("PACKAGE_VERSION")
25+
VERSION = os.environ.get("PACKAGE_VERSION").split('/')[-1]
2626
PYTHON_REQUIRES = ">=3.7"
2727
REQUIRES = [
2828
"urllib3 >= 1.25.3, < 2.1.0",

0 commit comments

Comments
 (0)