Skip to content

Commit 445f7e3

Browse files
author
Alec Delaney
committed
Update version string
1 parent 419c6e0 commit 445f7e3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

{{ cookiecutter.__dirname }}/.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
run: |
7777
pip install --upgrade build twine
7878
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
79-
sed -i -e "s/0.0.0-auto.0/1.2.3/" $file;
79+
sed -i -e "s/0.0.0+auto.0/1.2.3/" $file;
8080
done;
8181
python -m build
8282
twine check dist/*

{{ cookiecutter.__dirname }}/.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: {% raw %}${{ secrets.pypi_password }}{% endraw %}
8383
run: |
8484
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
85-
{% raw %}sed -i -e "s/0.0.0-auto.0/${{github.event.release.tag_name}}/" $file;{% endraw %}
85+
{% raw %}sed -i -e "s/0.0.0+auto.0/${{github.event.release.tag_name}}/" $file;{% endraw %}
8686
done;
8787
python -m build
8888
twine upload dist/*

{{ cookiecutter.__dirname }}/{% if cookiecutter.pypi_release in ['y', 'yes'] %}pyproject.toml{% endif %}

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ requires = [
3333
[project]
3434
name = "{{ pypi_name }}"
3535
description = "{{ cookiecutter.library_description }}"
36-
version = "0.0.0-auto.0"
36+
version = "0.0.0+auto.0"
3737
readme = "README.rst"
3838
authors = [
3939
{name = "Adafruit Industries", email = "[email protected]"}

{{ cookiecutter.__dirname }}/{{ cookiecutter.__libprefix }}{{ cookiecutter.__libname }}.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@
4949
{%- set repo_name = 'CircuitPython_Org_' + cookiecutter.library_name | replace(" ", "_") -%}
5050
{% endif -%}
5151

52-
__version__ = "0.0.0-auto.0"
52+
__version__ = "0.0.0+auto.0"
5353
__repo__ = "https://github.com/{{ cookiecutter.github_user }}/{{ repo_name }}.git"

0 commit comments

Comments
 (0)