From ca640f8625172370b27105f87ea4f58ad8d706ff 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..6caf532 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"