Skip to content

Commit c24b43e

Browse files
authored
Update version string
1 parent 8908e77 commit c24b43e

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ jobs:
5555
- name: Build assets
5656
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
5757
- 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
5961
with:
6062
name: bundles
6163
path: ${{ github.workspace }}/bundles/
@@ -71,7 +73,7 @@ jobs:
7173
run: |
7274
pip install --upgrade build twine
7375
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;
7577
done;
7678
python -m build
7779
twine check dist/*

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
TWINE_PASSWORD: ${{ secrets.pypi_password }}
8383
run: |
8484
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;
8686
done;
8787
python -m build
8888
twine upload dist/*

neopixel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
pass
2929

3030

31-
__version__ = "0.0.0-auto.0"
31+
__version__ = "0.0.0+auto.0"
3232
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel.git"
3333

3434

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ requires = [
1111
[project]
1212
name = "adafruit-circuitpython-neopixel"
1313
description = "CircuitPython library for NeoPixel LEDs."
14-
version = "0.0.0-auto.0"
14+
version = "0.0.0+auto.0"
1515
readme = "README.rst"
1616
authors = [
1717
{name = "Adafruit Industries", email = "[email protected]"}

0 commit comments

Comments
 (0)