Update entrypoint.sh
Co-authored-by: Łukasz Skarżyński <skarzynski_lukasz@protonmail.com>
This commit is contained in:
@@ -61,9 +61,9 @@ fi
|
|||||||
echo "Latest ${VERSION_NAME}=${LATEST_VERSION}"
|
echo "Latest ${VERSION_NAME}=${LATEST_VERSION}"
|
||||||
|
|
||||||
# Set outputs.
|
# Set outputs.
|
||||||
set_output current "${CURRENT_VERSION}"
|
set_output "current" "${CURRENT_VERSION}"
|
||||||
set_output latest "${LATEST_VERSION}"
|
set_output "latest" "${LATEST_VERSION}"
|
||||||
set_output repo "${REPO}"
|
set_output "repo" "${REPO}"
|
||||||
|
|
||||||
if [ "${CURRENT_VERSION}" = "${LATEST_VERSION}" ]; then
|
if [ "${CURRENT_VERSION}" = "${LATEST_VERSION}" ]; then
|
||||||
echo "${VERSION_NAME} is latest. Nothing to do."
|
echo "${VERSION_NAME} is latest. Nothing to do."
|
||||||
|
|||||||
Reference in New Issue
Block a user