fix: changed the shebang to suit nix
All checks were successful
/ integration (push) Successful in 18s

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 ca640f8625

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
set -e set -e
@ -42,6 +42,9 @@ ensure_tag() {
} }
upload_release() { upload_release() {
echo "AAAAAAAAAA"
ls $RELEASE_DIR/*
echo "BBBBBBBBBB"
local assets=$(ls $RELEASE_DIR/* | sed -e 's/^/-a /') local assets=$(ls $RELEASE_DIR/* | sed -e 's/^/-a /')
local releasetype local releasetype
( $PRERELEASE || echo "${TAG}" | grep -qi '\-rc' ) && export releasetype="--prerelease" && echo "Uploading as Pre-Release" ( $PRERELEASE || echo "${TAG}" | grep -qi '\-rc' ) && export releasetype="--prerelease" && echo "Uploading as Pre-Release"