From bf8ca49174ec412c1ff2c2aed43b0e645fde81cc Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Fri, 25 Feb 2022 22:18:54 -0800 Subject: [PATCH] update the python publish steps; tweak -device --- docs/developers/publish.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/developers/publish.md b/docs/developers/publish.md index 3eb4f72e..f9db34a9 100644 --- a/docs/developers/publish.md +++ b/docs/developers/publish.md @@ -11,12 +11,16 @@ If you’d like to do ‘real’ releases with your changes, the procedure is: ## Device * Update protobufs -* * cd proto -* * git checkout master && git pull -* * cd .. -* * git add proto -* * git commit -m "updating proto submodule to latest" -* run bin/regen-protos.sh + +``` +cd proto +git checkout master && git pull +cd .. +git add proto +git commit -m "updating proto submodule to latest" +run bin/regen-protos.sh +``` + * 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) * edit the draft release text and click publish @@ -76,7 +80,6 @@ pip3 install -r requirements.txt pip install . ``` - ### Instructions * 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) -* bump the version in setup.py - * 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).