kopia lustrzana https://github.com/meshtastic/firmware
use long versions for release names
rodzic
5b65fd5754
commit
96fc1f5272
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
# Will be available in steps.version.outputs.version
|
||||
- name: Get version string
|
||||
run: echo "::set-output name=version::$(./bin/buildinfo.py short)"
|
||||
run: echo "::set-output name=version::$(./bin/buildinfo.py long)"
|
||||
id: version
|
||||
|
||||
- name: Build everything
|
||||
|
|
|
@ -2,10 +2,10 @@ set -e
|
|||
|
||||
echo "This script is only for developers who are publishing new builds on github. Most users don't need it"
|
||||
|
||||
VERSION=`bin/buildinfo.py short`
|
||||
VERSION=`bin/buildinfo.py long`
|
||||
|
||||
# Must have a V prefix to trigger github
|
||||
git tag -f "v${VERSION}"
|
||||
git push root -f "v${VERSION}" # push the tag
|
||||
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"
|
||||
|
|
Ładowanie…
Reference in New Issue