meshtastic-firmware/bin/promote-release.sh

15 wiersze
419 B
Bash
Czysty Zwykły widok Historia

#!/usr/bin/env bash
2023-01-21 15:17:08 +00:00
set -e
2021-05-25 00:06:59 +00:00
echo "This script is only for developers who are publishing new builds on github. Most users don't need it"
2023-01-21 15:17:08 +00:00
VERSION=`bin/buildinfo.py long`
# Must have a V prefix to trigger github
2021-05-25 00:45:47 +00:00
git tag "v${VERSION}"
git push origin "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"