From ddbafd22db231912fe65efb5e0b9eb4e358fba57 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 6 Mar 2023 14:34:41 -0700 Subject: [PATCH] Update entrypoint.sh Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 87e10c9..f6bba52 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -40,7 +40,7 @@ if [[ -f "$INPUTS_RELEASE_NOTES_FILE" ]]; then git tag -f "$MAJOR_VERSION" "$NEW_TAG" git push -f "$INPUTS_REMOTE" "$MAJOR_VERSION" else - if [ -z "$(ls -A $RELEASE_ASSETS_DIR)" ]; then + if [ -z "$(ls -A "$RELEASE_ASSETS_DIR")" ]; then gh release create "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --title "$MAJOR_VERSION" "$RELEASE_ASSETS_DIR"/* else gh release create "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --title "$MAJOR_VERSION"