There was an error while loading. Please reload this page.
1 parent c88bf95 commit 4b4adf3Copy full SHA for 4b4adf3
1 file changed
.github/workflows/release.yml
@@ -30,6 +30,6 @@ jobs:
30
- uses: actions/checkout@v3
31
- name: Install
32
run: |
33
- PKGNAME=$(python setup.py --name)
34
- VERSION=$(python setup.py --version)
35
- while true; do python -m pip install $PKGNAME==$VERSION && break || sleep 5; done
+ PROJECT=$(shell python3 -c "from xkits_command.attribute import __project__; print(__project__)")
+ VERSION=$(shell python3 -c "from xkits_command.attribute import __version__; print(__version__)")
+ while true; do python -m pip install $PROJECT==$VERSION && break || sleep 5; done
0 commit comments