We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f8249c + 4a4d717 commit 62575faCopy full SHA for 62575fa
.github/workflows/publish.yml
@@ -25,6 +25,7 @@ jobs:
25
run: |
26
export VERSION=`echo $VERSION_RAW | sed -E 's;.*/v(.*)$;\1;'`
27
sed -i 's/%VERSION%/'$VERSION'/' evasdk/version.py
28
+ sed -i 's/%VERSION%/'$VERSION'/' setup.py
29
python setup.py sdist bdist_wheel
30
- name: Publish a Python distribution to PyPI
31
uses: pypa/[email protected]
setup.py
@@ -1,12 +1,13 @@
1
import setuptools
2
-from evasdk.version import __version__
+
3
+version = '%VERSION%' # Replaced by the publish.yml workflow
4
5
with open("README.md", "r") as fh:
6
long_description = fh.read()
7
8
setuptools.setup(
9
name='evasdk',
- version=__version__,
10
+ version=version,
11
description='SDK for the Automata Eva robotic arm',
12
author='Automata',
13
license='Apache License 2.0',
0 commit comments