Skip to content

Commit 1371b8d

Browse files
authored
fix: Switch from hub to gh
1 parent 470a906 commit 1371b8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ fi
1111

1212
if [ -z "${INPUT_COMMIT}" ]; then
1313
if [ -z "${INPUT_BODY}" ]; then
14-
hub release create -m "${INPUT_TITLE}" "${INPUT_TAG}"
14+
gh release create -t "${INPUT_TITLE}" "${INPUT_TAG}" --generate-notes
1515
else
16-
hub release create -m "${INPUT_TITLE}" -m "${INPUT_BODY}" "${INPUT_TAG}"
16+
gh release create -t "${INPUT_TITLE}" -n "${INPUT_BODY}" "${INPUT_TAG}"
1717
fi
1818
else
1919
if [ -z "${INPUT_BODY}" ]; then
20-
hub release create -t "${INPUT_COMMIT}" -m "${INPUT_TITLE}" "${INPUT_TAG}"
20+
gh release create --target "${INPUT_COMMIT}" -t "${INPUT_TITLE}" "${INPUT_TAG}" --generate-notes
2121
else
22-
hub release create -t "${INPUT_COMMIT}" -m "${INPUT_TITLE}" -m "${INPUT_BODY}" "${INPUT_TAG}"
22+
gh release create --target "${INPUT_COMMIT}" -t "${INPUT_TITLE}" -n "${INPUT_BODY}" "${INPUT_TAG}"
2323
fi
2424
fi

0 commit comments

Comments
 (0)