fix: changed the shebang to suit nix
Some checks failed
/ integration (push) Has been cancelled

Signed-off-by: silver <silver@skynet.ie>
This commit is contained in:
silver 2024-08-11 01:50:48 +00:00 committed by Brendan Golden
parent 39501b1a89
commit 60c5c75774

View file

@ -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"