Skip to content

Commit 21bb61c

Browse files
authored
Merge pull request zyedidia#3418 from JoeKar/fix/nightly-assets
nightly: Fix asset names with `nightly` as version string
2 parents 2259fd1 + d744872 commit 21bb61c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fetch-tags: true
2626

2727
- name: Build
28-
run: tools/cross-compile.sh
28+
run: tools/cross-compile.sh nightly
2929

3030
- name: Tag
3131
uses: rickstaa/action-create-tag@v1

tools/cross-compile.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
set -e
44

5-
HASH="$(git rev-parse --short HEAD)"
6-
VERSION="$(go run tools/build-version.go)"
7-
DATE="$(go run tools/build-date.go)"
8-
ADDITIONAL_GO_LINKER_FLAGS="$(go run tools/info-plist.go $VERSION)"
5+
VERSION="$1"
6+
if [ -z "$VERSION" ]; then
7+
VERSION="$(go run tools/build-version.go)"
8+
fi
99

1010
mkdir -p binaries
1111
mkdir -p micro-$VERSION

0 commit comments

Comments
 (0)