mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-10 15:44:18 -08:00
Merge pull request #123 from mc-hamster/master
Update to clarify the steps to update protobufs in publish.md
This commit is contained in:
commit
f8f6ee82d0
|
@ -10,17 +10,19 @@ If you’d like to do ‘real’ releases with your changes, the procedure is:
|
||||||
|
|
||||||
## Device
|
## 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
|
||||||
* edit version.properties and check it into the root project
|
* edit version.properties and check it into the root project
|
||||||
* run bin/promote-release.sh - this should cause github to start a release build (see the CI actions)
|
* run bin/promote-release.sh - 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
|
||||||
|
|
||||||
### Update Protobufs
|
### Update Protobufs
|
||||||
|
|
||||||
* cd proto
|
|
||||||
* git checkout master && git pull
|
|
||||||
* cd ..
|
|
||||||
* git add proto
|
|
||||||
* git commit -m "updating proto submodule to latest"
|
|
||||||
|
|
||||||
## Android
|
## Android
|
||||||
|
|
||||||
|
@ -44,8 +46,16 @@ TBD
|
||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
* update the proto submodule
|
* 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
|
||||||
* bump the version in setup.py
|
* bump the version in setup.py
|
||||||
|
* run bin/test-release.sh
|
||||||
|
* * Ensure no errors.
|
||||||
* run bin/upload-release.sh
|
* run bin/upload-release.sh
|
||||||
|
|
||||||
I usually just edit setup.py to bump the version number, then run "bin/upload-release.sh" (though you should use bin/test-release.sh for the first time - which is just a dry deploy to the pypi test server). This script does the build (including new docs - which will end up in the git checkin) and upload to pypi. Then I do a git commit/push and tag wit the version number.
|
I usually just edit setup.py to bump the version number, then run "bin/upload-release.sh" (though you should use bin/test-release.sh for the first time - which is just a dry deploy to the pypi test server). This script does the build (including new docs - which will end up in the git checkin) and upload to pypi. Then I do a git commit/push and tag wit the version number.
|
||||||
|
|
Loading…
Reference in a new issue