parent
fe2666e768
commit
c5e69e0c3d
|
@ -20,15 +20,22 @@ string.
|
||||||
```bash
|
```bash
|
||||||
cd $FARMBOT_OS_ROOT_DIRECTORY
|
cd $FARMBOT_OS_ROOT_DIRECTORY
|
||||||
git checkout staging
|
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`
|
# update the CHANGELOG, but DO NOT put the `rc`
|
||||||
# on the semver string.
|
# on the semver string.
|
||||||
$EDITOR CHANGELOG.md
|
$EDITOR CHANGELOG.md
|
||||||
echo 10.5.6-rc30 > VERSION
|
|
||||||
git add CHANGELOG.md VERSION
|
echo 1.2.3-rc4 > VERSION
|
||||||
git commit -m "Release v10.5.6-rc30"
|
|
||||||
git tag v$(cat VERSION)
|
git add -A
|
||||||
git push origin staging v$(cat VERSION)
|
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:
|
or call the helper script:
|
||||||
|
|
Loading…
Reference in New Issue