From 80ca8d6bb3dd3b87039ff52b908bd0300a2e129c Mon Sep 17 00:00:00 2001 From: silver Date: Sun, 11 Aug 2024 01:50:48 +0000 Subject: [PATCH] fix: changed the shebang to suit nix Signed-off-by: silver --- forgejo-release.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/forgejo-release.sh b/forgejo-release.sh index be7de5a..44231d2 100755 --- a/forgejo-release.sh +++ b/forgejo-release.sh @@ -1,4 +1,4 @@ -#!/bin/bash + #!/usr/bin/env bash # SPDX-License-Identifier: MIT set -e @@ -42,6 +42,9 @@ ensure_tag() { } upload_release() { + echo "AAAAAAAAAA" + ls $RELEASE_DIR/* + echo "BBBBBBBBBB" local assets=$(ls $RELEASE_DIR/* | sed -e 's/^/-a /') local releasetype ( $PRERELEASE || echo "${TAG}" | grep -qi '\-rc' ) && export releasetype="--prerelease" && echo "Uploading as Pre-Release"