Skip to content

Commit afbdbbe

Browse files
committed
Revert europi_version back to version.
1 parent a0ae9f5 commit afbdbbe

7 files changed

Lines changed: 8 additions & 8 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/europi_version.py`](/software/firmware/europi_version.py) with the new version number.
37+
1. Update [`software/firmware/version.py`](/software/firmware/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/europi_version.py`
87+
VERSION=`grep -oP '(?<=")[\d\.]+(?=")' micropython/ports/rp2/modules/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,7 +86,6 @@ micropython/ports/rp2/modules/
8686
├── europi_hardware.py
8787
├── europi_log.py
8888
├── europi_script.py
89-
├── europi_version.py
9089
├── experimental
9190
│   ├── __init__.py
9291
│   ├── a_to_d.py
@@ -135,7 +134,8 @@ micropython/ports/rp2/modules/
135134
│   ├── conf_edit.py
136135
│   ├── diagnostic.py
137136
│   └── experimental_conf_edit.py
138-
└── ui.py
137+
├── ui.py
138+
└── version.py
139139
```
140140
_boot.py should be modified to look like this: (increase progsize)
141141
``` Python

software/firmware/europi.py

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

2929
import sys
3030

31-
from europi_version import __version__
31+
from version import __version__
3232

3333
from configuration import ConfigSettings
3434
from framebuf import FrameBuffer, MONO_HLSB

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("./europi_version.py").read())
17+
exec(open("./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 europi_version import __version__
17+
from version import __version__
1818

1919

2020
class About(EuroPiScript):

software/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("./firmware/europi_version.py").read())
17+
exec(open("./firmware/version.py").read())
1818

1919
setup(
2020
name="micropython-europi-contrib",

0 commit comments

Comments
 (0)