Signed-off-by: silver <silver@skynet.ie>
This commit is contained in:
parent
39501b1a89
commit
60c5c75774
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
set -e
|
||||
|
@ -42,7 +42,7 @@ ensure_tag() {
|
|||
}
|
||||
|
||||
upload_release() {
|
||||
local assets=$(ls $RELEASE_DIR/* | sed -e 's/^/-a /')
|
||||
local assets=$(find $RELEASE_DIR -type f | sed -e 's/^/-a /')
|
||||
local releasetype
|
||||
( $PRERELEASE || echo "${TAG}" | grep -qi '\-rc' ) && export releasetype="--prerelease" && echo "Uploading as Pre-Release"
|
||||
test ${releasetype+false} || echo "Uploading as Stable"
|
||||
|
|
Loading…
Reference in a new issue