Skip to content

Commit

Permalink
Merge pull request #36 from brainelectronics/bugfix/release-to-pypi
Browse files Browse the repository at this point in the history
Publish package to PyPi as micropython-nextion
  • Loading branch information
brainelectronics authored May 17, 2023
2 parents c7d9116 + ced26e3 commit 538f7d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,12 @@ jobs:
--version_file nextion/version.py \
--version_file_type py \
--debug
# micropython-nextion is owned by someone else on test.pypi.org
# rename package only for this case
sed -i \
"s/name\='micropython-nextion'/name\='be-micropython-nextion'/" \
setup.py
python setup.py sdist
- name: Test built package
# sdist call creates non twine conform "*.orig" files, remove them
run: |
rm dist/*.orig
# sdist call create non conform twine files *.orig, remove them
twine check dist/*.tar.gz
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1.5
with:
Expand Down
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ r"^\#\# \[\d{1,}[.]\d{1,}[.]\d{1,}\] \- \d{4}\-\d{2}-\d{2}$"
-->

## Released
## [0.15.3] - 2023-05-17
### Fixed
- Publish releases to PyPi again as `micropython-nextion`, see #35

## [0.15.2] - 2023-05-14
### Fixed
- Logger import fixed, see #31
Expand Down Expand Up @@ -225,8 +229,9 @@ r"^\#\# \[\d{1,}[.]\d{1,}[.]\d{1,}\] \- \d{4}\-\d{2}-\d{2}$"
- [Example HMI file](examples/everything.HMI) to be used for all examples

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

[0.15.3]: https://github.com/brainelectronics/micropython-nextion/tree/0.15.3
[0.15.2]: https://github.com/brainelectronics/micropython-nextion/tree/0.15.2
[0.15.1]: https://github.com/brainelectronics/micropython-nextion/tree/0.15.1
[0.15.0]: https://github.com/brainelectronics/micropython-nextion/tree/0.15.0
Expand Down

0 comments on commit 538f7d0

Please sign in to comment.