We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 602df6a commit a728325Copy full SHA for a728325
1 file changed
entrypoint.sh
@@ -2,7 +2,7 @@
2
set -Eeuo pipefail
3
4
if [ -z "${GITHUB_TOKEN:-}" ]; then
5
- if [ -n "${INPUT_TOKEN:-}" ]; then
+ if [ -n "$INPUT_TOKEN" ]; then
6
export GITHUB_TOKEN="$INPUT_TOKEN"
7
else
8
echo "The token input is not set!" && exit 1
@@ -21,8 +21,8 @@ if (( rc == 0 )); then
21
sleep 3
22
fi
23
24
-if [ -z "${INPUT_COMMIT}" ]; then
25
- if [ -z "${INPUT_BODY}" ]; then
+if [ -z "$INPUT_COMMIT" ]; then
+ if [ -z "$INPUT_BODY" ]; then
26
gh release create -t "$INPUT_TITLE" "$INPUT_TAG" --generate-notes
27
28
gh release create -t "$INPUT_TITLE" -n "$INPUT_BODY" "$INPUT_TAG"
0 commit comments