meshtastic-firmware/bin/promote-release.sh

12 wiersze
396 B
Bash
Czysty Zwykły widok Historia

2021-05-25 00:06:59 +00:00
set -e
echo "This script is only for developers who are publishing new builds on github. Most users don't need it"
2021-05-25 00:06:59 +00:00
VERSION=`bin/buildinfo.py short`
# Must have a V prefix to trigger github
git tag "v${VERSION}"
git push root "v${VERSION}" # push the tag
echo "Tag ${VERSION} pushed to github, github actions should now be building the draft release. If it seems good, click to publish it"