Skip to content

Commit

Permalink
Merge pull request #3418 from JoeKar/fix/nightly-assets
Browse files Browse the repository at this point in the history
nightly: Fix asset names with `nightly` as version string
  • Loading branch information
JoeKar authored Aug 8, 2024
2 parents 2259fd1 + d744872 commit 21bb61c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions tools/cross-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21bb61c

Please sign in to comment.