2022-01-07 10:29:58 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-05-25 00:06:59 +00:00
|
|
|
set -e
|
|
|
|
|
2021-04-16 07:28:28 +00:00
|
|
|
echo "This script is only for developers who are publishing new builds on github. Most users don't need it"
|
|
|
|
|
2021-05-25 00:45:47 +00:00
|
|
|
VERSION=`bin/buildinfo.py long`
|
2021-04-16 07:28:28 +00:00
|
|
|
|
|
|
|
# Must have a V prefix to trigger github
|
2021-05-25 00:45:47 +00:00
|
|
|
git tag "v${VERSION}"
|
2021-12-03 03:40:40 +00:00
|
|
|
|
|
|
|
# Commented out per https://github.com/meshtastic/Meshtastic-device/issues/947
|
|
|
|
#git push root "v${VERSION}" # push the tag
|
|
|
|
|
|
|
|
git push origin "v${VERSION}" # push the tag
|
2021-04-16 07:28:28 +00:00
|
|
|
|
|
|
|
echo "Tag ${VERSION} pushed to github, github actions should now be building the draft release. If it seems good, click to publish it"
|