mirror of
https://github.com/yeslayla/butler-publish-itchio-action.git
synced 2025-01-14 04:53:25 +01:00
upgrade butler + typo fix
This commit is contained in:
parent
a1e444d0f8
commit
e244514515
@ -4,16 +4,17 @@ set -e
|
|||||||
mkdir -p ~/.config/itch
|
mkdir -p ~/.config/itch
|
||||||
echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds
|
echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds
|
||||||
|
|
||||||
|
butler upgrade
|
||||||
|
|
||||||
versionArguement=""
|
versionArgument=""
|
||||||
|
|
||||||
if [ "$VERSION" != "" ]
|
if [ "$VERSION" != "" ]
|
||||||
then
|
then
|
||||||
versionArguement="--userversion ${VERSION}"
|
versionArgument="--userversion ${VERSION}"
|
||||||
elif [ "$VERSION_FILE" != "" ]
|
elif [ "$VERSION_FILE" != "" ]
|
||||||
then
|
then
|
||||||
versionArguement="--userversion-file ${VERSION_FILE}"
|
versionArgument="--userversion-file ${VERSION_FILE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "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 ${versionArguement}
|
butler push "$PACKAGE" $ITCH_USER/$ITCH_GAME:$CHANNEL ${versionArgument}
|
||||||
|
Loading…
Reference in New Issue
Block a user