Skip to content

Commit 538f7d0

Browse files
Merge pull request #36 from brainelectronics/bugfix/release-to-pypi
Publish package to PyPi as micropython-nextion
2 parents c7d9116 + ced26e3 commit 538f7d0

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,12 @@ jobs:
3434
--version_file nextion/version.py \
3535
--version_file_type py \
3636
--debug
37-
# micropython-nextion is owned by someone else on test.pypi.org
38-
# rename package only for this case
39-
sed -i \
40-
"s/name\='micropython-nextion'/name\='be-micropython-nextion'/" \
41-
setup.py
4237
python setup.py sdist
38+
- name: Test built package
39+
# sdist call creates non twine conform "*.orig" files, remove them
40+
run: |
4341
rm dist/*.orig
44-
# sdist call create non conform twine files *.orig, remove them
42+
twine check dist/*.tar.gz
4543
- name: Publish package
4644
uses: pypa/gh-action-pypi-publish@release/v1.5
4745
with:

changelog.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ r"^\#\# \[\d{1,}[.]\d{1,}[.]\d{1,}\] \- \d{4}\-\d{2}-\d{2}$"
1717
-->
1818

1919
## Released
20+
## [0.15.3] - 2023-05-17
21+
### Fixed
22+
- Publish releases to PyPi again as `micropython-nextion`, see #35
23+
2024
## [0.15.2] - 2023-05-14
2125
### Fixed
2226
- Logger import fixed, see #31
@@ -225,8 +229,9 @@ r"^\#\# \[\d{1,}[.]\d{1,}[.]\d{1,}\] \- \d{4}\-\d{2}-\d{2}$"
225229
- [Example HMI file](examples/everything.HMI) to be used for all examples
226230

227231
<!-- Links -->
228-
[Unreleased]: https://github.com/brainelectronics/micropython-nextion/compare/0.15.2...develop
232+
[Unreleased]: https://github.com/brainelectronics/micropython-nextion/compare/0.15.3...develop
229233

234+
[0.15.3]: https://github.com/brainelectronics/micropython-nextion/tree/0.15.3
230235
[0.15.2]: https://github.com/brainelectronics/micropython-nextion/tree/0.15.2
231236
[0.15.1]: https://github.com/brainelectronics/micropython-nextion/tree/0.15.1
232237
[0.15.0]: https://github.com/brainelectronics/micropython-nextion/tree/0.15.0

0 commit comments

Comments
 (0)