We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe4a5c commit 26b7644Copy full SHA for 26b7644
entrypoint.sh
@@ -40,7 +40,7 @@ if [[ -f "$INPUTS_RELEASE_NOTES_FILE" ]]; then
40
git tag -f "$MAJOR_VERSION" "$NEW_TAG"
41
git push -f "$INPUTS_REMOTE" "$MAJOR_VERSION"
42
else
43
- if [ -z "$(ls -A "$RELEASE_ASSETS_DIR")" ]; then
+ if [[ -n "$(find "$RELEASE_ASSETS_DIR" -type f)" ]]; then
44
gh release create "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --title "$MAJOR_VERSION" "$RELEASE_ASSETS_DIR"/*
45
46
gh release create "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --title "$MAJOR_VERSION"
0 commit comments