use long versions for release names

pull/813/head^2
Kevin Hester 2021-05-25 08:45:47 +08:00
rodzic 5b65fd5754
commit 96fc1f5272
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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"