File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 25
25
run : |
26
26
export VERSION=`echo $VERSION_RAW | sed -E 's;.*/v(.*)$;\1;'`
27
27
sed -i 's/%VERSION%/'$VERSION'/' evasdk/version.py
28
+ sed -i 's/%VERSION%/'$VERSION'/' setup.py
28
29
python setup.py sdist bdist_wheel
29
30
- name : Publish a Python distribution to PyPI
30
31
Original file line number Diff line number Diff line change 1
1
import setuptools
2
- from evasdk .version import __version__
2
+
3
+ version = '%VERSION%' # Replaced by the publish.yml workflow
3
4
4
5
with open ("README.md" , "r" ) as fh :
5
6
long_description = fh .read ()
6
7
7
8
setuptools .setup (
8
9
name = 'evasdk' ,
9
- version = __version__ ,
10
+ version = version ,
10
11
description = 'SDK for the Automata Eva robotic arm' ,
11
12
author = 'Automata' ,
12
13
license = 'Apache License 2.0' ,
You can’t perform that action at this time.
0 commit comments