Skip to content

Commit 48f98a7

Browse files
committed
Re-apply the version -> europi_version change
1 parent 17032ff commit 48f98a7

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Pushes to the main [pypi.org](https://pypi.org/project/micropython-europi/#histo
3434
## Release process
3535

3636
1. Decide which version number to release.
37-
1. Update [`software/firmware/version.py`](/software/firmware/version.py) with the new version number.
37+
1. Update [`software/firmware/europi_version.py`](/software/firmware/europi_version.py) with the new version number.
3838
1. Commit and push to `main`.
3939
1. Verify that the new release was pushed to [test.pypi.org](https://test.pypi.org/project/micropython-europi/#history). If it was not, look for errors associated with the commit on the [actions tab](https://github.com/Allen-Synthesis/EuroPi/actions). Commit new changes until a successful release is created.
4040
1. Tag the release locally using `git tag -a v<version_number> -m 'message'`, for example `git tag -a v0.0.1 -m 'release v0.0.1'`

.github/workflows/compile_to_uf2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
- name: create release asset version
8585
id: release-asset-version
8686
run: |
87-
VERSION=`grep -oP '(?<=")[\d\.]+(?=")' micropython/ports/rp2/modules/version.py`
87+
VERSION=`grep -oP '(?<=")[\d\.]+(?=")' micropython/ports/rp2/modules/europi_version.py`
8888
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
8989
9090
- name: rename firmware file for RPI_PICO with version info

software/create_custom_firmware_uf2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ micropython/ports/rp2/modules/
8686
├── europi_hardware.py
8787
├── europi_log.py
8888
├── europi_script.py
89+
├── europi_version.py
8990
├── experimental
9091
│   ├── __init__.py
9192
│   ├── a_to_d.py
@@ -134,8 +135,7 @@ micropython/ports/rp2/modules/
134135
│   ├── conf_edit.py
135136
│   ├── diagnostic.py
136137
│   └── experimental_conf_edit.py
137-
├── ui.py
138-
└── version.py
138+
└── ui.py
139139
```
140140
_boot.py should be modified to look like this: (increase progsize)
141141
``` Python

software/firmware/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from setuptools import setup
1515

1616
__version__ = ""
17-
exec(open("./version.py").read())
17+
exec(open("./europi_version.py").read())
1818

1919

2020
def build_firmware_module_list():

software/firmware/tools/about.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from europi import *
1515
from europi_script import EuroPiScript
1616
from time import sleep
17-
from version import __version__
17+
from europi_version import __version__
1818

1919

2020
class About(EuroPiScript):

0 commit comments

Comments
 (0)