File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 55
55
- name : Build assets
56
56
run : circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
57
57
- name : Archive bundles
58
- uses : actions/upload-artifact@v2
58
+ uses : actions/upfor file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
59
+ sed -i -e "s/0.0.0-auto.0/0.0.0+auto.0/" $file;
60
+ done;load-artifact@v2
59
61
with :
60
62
name : bundles
61
63
path : ${{ github.workspace }}/bundles/
71
73
run : |
72
74
pip install --upgrade build twine
73
75
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
74
- sed -i -e "s/0.0.0- auto.0/1.2.3/" $file;
76
+ sed -i -e "s/0.0.0+ auto.0/1.2.3/" $file;
75
77
done;
76
78
python -m build
77
79
twine check dist/*
Original file line number Diff line number Diff line change 82
82
TWINE_PASSWORD : ${{ secrets.pypi_password }}
83
83
run : |
84
84
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
85
- sed -i -e "s/0.0.0- auto.0/${{github.event.release.tag_name}}/" $file;
85
+ sed -i -e "s/0.0.0+ auto.0/${{github.event.release.tag_name}}/" $file;
86
86
done;
87
87
python -m build
88
88
twine upload dist/*
Original file line number Diff line number Diff line change 28
28
pass
29
29
30
30
31
- __version__ = "0.0.0- auto.0"
31
+ __version__ = "0.0.0+ auto.0"
32
32
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel.git"
33
33
34
34
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ requires = [
11
11
[project ]
12
12
name = " adafruit-circuitpython-neopixel"
13
13
description = " CircuitPython library for NeoPixel LEDs."
14
- version = " 0.0.0- auto.0"
14
+ version = " 0.0.0+ auto.0"
15
15
readme = " README.rst"
16
16
authors = [
17
17
{
name =
" Adafruit Industries" ,
email =
" [email protected] " }
You can’t perform that action at this time.
0 commit comments