File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1818 with :
1919 python-version : ' 3.x'
2020
21+ - name : Extract version from Git tag
22+ id : get_version
23+ run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
24+
25+ - name : Replace version placeholder in setup.py
26+ run : sed -i "s/__VERSION__/$VERSION/g" setup.py
27+
2128 - name : Upgrade pip and install dependencies
2229 run : |
2330 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 55
66setup (
77 name = 'unipyAccess' ,
8- version = '0.1' ,
8+ version = '__VERSION__' , # Placeholder for the version
99 packages = find_packages (),
1010 install_requires = [
1111 'requests==2.32.3'
1212 ],
1313 long_description = long_description ,
1414 long_description_content_type = 'text/markdown' ,
15- )
15+ )
You can’t perform that action at this time.
0 commit comments