From e244514515f8cb1167eca70d8b8715f86e935ffd Mon Sep 17 00:00:00 2001 From: Finn Ellis Date: Sun, 8 Mar 2020 05:07:26 -0700 Subject: [PATCH] upgrade butler + typo fix --- entrypoint.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d60d42e..74eeb2d 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,16 +4,17 @@ set -e mkdir -p ~/.config/itch echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds +butler upgrade -versionArguement="" +versionArgument="" if [ "$VERSION" != "" ] then - versionArguement="--userversion ${VERSION}" + versionArgument="--userversion ${VERSION}" elif [ "$VERSION_FILE" != "" ] then - versionArguement="--userversion-file ${VERSION_FILE}" + versionArgument="--userversion-file ${VERSION_FILE}" fi -echo "butler push \"$PACKAGE\" $ITCH_USER/$ITCH_GAME:$CHANNEL ${versionArguement}" -butler push "$PACKAGE" $ITCH_USER/$ITCH_GAME:$CHANNEL ${versionArguement} +echo "butler push \"$PACKAGE\" $ITCH_USER/$ITCH_GAME:$CHANNEL ${versionArgument}" +butler push "$PACKAGE" $ITCH_USER/$ITCH_GAME:$CHANNEL ${versionArgument}