Merge pull request #3418 from JoeKar/fix/nightly-assets

nightly: Fix asset names with `nightly` as version string
This commit is contained in:
Jöran Karl 2024-08-08 18:37:29 +02:00 committed by GitHub
commit 21bb61c5ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ jobs:
fetch-tags: true
- name: Build
run: tools/cross-compile.sh
run: tools/cross-compile.sh nightly
- name: Tag
uses: rickstaa/action-create-tag@v1

View File

@ -2,10 +2,10 @@
set -e
HASH="$(git rev-parse --short HEAD)"
VERSION="$(go run tools/build-version.go)"
DATE="$(go run tools/build-date.go)"
ADDITIONAL_GO_LINKER_FLAGS="$(go run tools/info-plist.go $VERSION)"
VERSION="$1"
if [ -z "$VERSION" ]; then
VERSION="$(go run tools/build-version.go)"
fi
mkdir -p binaries
mkdir -p micro-$VERSION