mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-23 09:20:23 +00:00
Merge pull request #3418 from JoeKar/fix/nightly-assets
nightly: Fix asset names with `nightly` as version string
This commit is contained in:
commit
21bb61c5ff
2 changed files with 5 additions and 5 deletions
2
.github/workflows/nightly.yaml
vendored
2
.github/workflows/nightly.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue