File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 2020 with :
2121 python-version : 3.9
2222
23- - name : Extract version from github tag, remove v prefix and make it an environment variable
24- id : extract_version
25- run : |
26- VERSION=$(echo ${{ github.ref }} | cut -d'/' -f3)
27- echo "::set-env name=VERSION::${VERSION#v}"
28-
29- - name : Build a binary wheel and a source tarball
23+ - name : Build a binary wheel and a source tarball. Get version from github tag (and remove v prefix)
3024 run : python setup.py sdist bdist_wheel
3125
3226 - name : Publish distribution 📦 to PyPI
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
2- import os
32
4- # get version from env variable
5- VERSION = os .environ .get ("VERSION" )
6- assert VERSION is not None , "VERSION env variable must be set"
3+
4+ VERSION = "0.0.10"
75
86DESCRIPTION = "Whitebox is an open source E2E ML monitoring platform with edge capabilities that plays nicely with kubernetes"
97LONG_DESCRIPTION = ""
You can’t perform that action at this time.
0 commit comments