From c5e69e0c3de88ff51075252cbae89f55653ecbbc Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Fri, 10 Apr 2020 10:13:13 -0500 Subject: [PATCH] v9.2.2-rc8, plus dev doc updates --- .../releasing_target_firmware.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/docs/target_development/releasing_target_firmware.md b/docs/target_development/releasing_target_firmware.md index 380c88ac..567ac7e7 100644 --- a/docs/target_development/releasing_target_firmware.md +++ b/docs/target_development/releasing_target_firmware.md @@ -20,15 +20,22 @@ string. ```bash cd $FARMBOT_OS_ROOT_DIRECTORY git checkout staging -git fetch --all && git reset --hard origin/staging + +# Ensure you don't accidentally publish local changes +# that have not gone through CI: +git fetch --all +git reset --hard origin/staging + # update the CHANGELOG, but DO NOT put the `rc` # on the semver string. $EDITOR CHANGELOG.md -echo 10.5.6-rc30 > VERSION -git add CHANGELOG.md VERSION -git commit -m "Release v10.5.6-rc30" -git tag v$(cat VERSION) -git push origin staging v$(cat VERSION) + +echo 1.2.3-rc4 > VERSION + +git add -A +git commit -am "Release v10.5.6-rc30" +git tag v1.2.3-rc4 +git push origin v1.2.3-rc4 ``` or call the helper script: