From 19963850a110c5f635c6218e359f25ba5e03645d 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/forgejo-release.sh b/forgejo-release.sh index be7de5a..96fa151 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,10 @@ ensure_tag() { } upload_release() { + echo "AAAAAAAAAA" + echo $RELEASE_DIR + 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"