use long versions for release names

This commit is contained in:
Kevin Hester 2021-05-25 08:45:47 +08:00
parent 5b65fd5754
commit 96fc1f5272
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ jobs:
# Will be available in steps.version.outputs.version # Will be available in steps.version.outputs.version
- name: Get version string - 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 id: version
- name: Build everything - name: Build everything

View File

@ -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" 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 # Must have a V prefix to trigger github
git tag -f "v${VERSION}" git tag "v${VERSION}"
git push root -f "v${VERSION}" # push the tag 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" echo "Tag ${VERSION} pushed to github, github actions should now be building the draft release. If it seems good, click to publish it"