Merge pull request #264 from mkinney/update_python_publish

update the python publish steps; tweak -device
This commit is contained in:
mkinney 2022-02-25 22:21:43 -08:00 committed by GitHub
commit 55a52448a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,12 +11,16 @@ If youd like to do real releases with your changes, the procedure is:
## Device ## Device
* Update protobufs * Update protobufs
* * cd proto
* * git checkout master && git pull ```
* * cd .. cd proto
* * git add proto git checkout master && git pull
* * git commit -m "updating proto submodule to latest" cd ..
* run bin/regen-protos.sh git add proto
git commit -m "updating proto submodule to latest"
run bin/regen-protos.sh
```
* edit version.properties to set release version * edit version.properties to set release version
* commit and push (or merge) to root of repo - this should cause GitHub to start a release build (see the CI actions) * commit and push (or merge) to root of repo - this should cause GitHub to start a release build (see the CI actions)
* edit the draft release text and click publish * edit the draft release text and click publish
@ -76,7 +80,6 @@ pip3 install -r requirements.txt
pip install . pip install .
``` ```
### Instructions ### Instructions
* Update protobufs by running the "Update protobufs" workflow in Actions: https://github.com/meshtastic/Meshtastic-python/actions/workflows/update_protobufs.yml * Update protobufs by running the "Update protobufs" workflow in Actions: https://github.com/meshtastic/Meshtastic-python/actions/workflows/update_protobufs.yml
@ -93,8 +96,6 @@ pytest -m smoke1
* run bin/test-release.sh (optional) * run bin/test-release.sh (optional)
* bump the version in setup.py
* Run the "Make Release" workflow in Actions: https://github.com/meshtastic/Meshtastic-python/actions/workflows/release.yml * Run the "Make Release" workflow in Actions: https://github.com/meshtastic/Meshtastic-python/actions/workflows/release.yml
* After the "Make Release" is done, go into Releases: https://github.com/meshtastic/Meshtastic-python/releases There should be a draft. Add the title, update the "What's Changed" (Tip: Click on the "Auto-generate release notes" button.). Uncheck the "This is a pre-release" (if applicable). * After the "Make Release" is done, go into Releases: https://github.com/meshtastic/Meshtastic-python/releases There should be a draft. Add the title, update the "What's Changed" (Tip: Click on the "Auto-generate release notes" button.). Uncheck the "This is a pre-release" (if applicable).