Update entrypoint.sh

Co-authored-by: Łukasz Skarżyński <skarzynski_lukasz@protonmail.com>
This commit is contained in:
ICHINOSE Shogo
2022-10-15 02:01:15 +09:00
committed by GitHub
parent 37e829d169
commit 7eb43fb92e

View File

@@ -61,9 +61,9 @@ fi
echo "Latest ${VERSION_NAME}=${LATEST_VERSION}"
# Set outputs.
set_output current "${CURRENT_VERSION}"
set_output latest "${LATEST_VERSION}"
set_output repo "${REPO}"
set_output "current" "${CURRENT_VERSION}"
set_output "latest" "${LATEST_VERSION}"
set_output "repo" "${REPO}"
if [ "${CURRENT_VERSION}" = "${LATEST_VERSION}" ]; then
echo "${VERSION_NAME} is latest. Nothing to do."