Update URLs now that Bitbucket deleted the old repo.

This commit is contained in:
alys 2022-02-26 19:39:51 -06:00
parent 0b2faf372b
commit 7059285fb2

View file

@ -756,7 +756,7 @@ cd "$RELEASE_DIR"
## MacOS ## ## MacOS ##
if [[ ! -f "$CACHE_DIR/love-$LOVE_VERSION-macos.zip" ]]; then if [[ ! -f "$CACHE_DIR/love-$LOVE_VERSION-macos.zip" ]]; then
curl -L -C - -o $CACHE_DIR/love-$LOVE_VERSION-macos.zip https://bitbucket.org/rude/love/downloads/love-$LOVE_VERSION-macos.zip curl -L -C - -o $CACHE_DIR/love-$LOVE_VERSION-macos.zip https://github.com/love2d/love/releases/download/$LOVE_VERSION/love-$LOVE_VERSION-macos.zip
fi fi
unzip -qq "$CACHE_DIR/love-$LOVE_VERSION-macos.zip" unzip -qq "$CACHE_DIR/love-$LOVE_VERSION-macos.zip"
@ -964,7 +964,7 @@ cd "$RELEASE_DIR"
if [[ $X32 == true ]]; then if [[ $X32 == true ]]; then
if [[ ! -f "$CACHE_DIR/love-$LOVE_VERSION-win32.zip" ]]; then if [[ ! -f "$CACHE_DIR/love-$LOVE_VERSION-win32.zip" ]]; then
curl -L -C - -o "$CACHE_DIR/love-$LOVE_VERSION-win32.zip" "https://bitbucket.org/rude/love/downloads/love-$LOVE_VERSION-win32.zip" curl -L -C - -o "$CACHE_DIR/love-$LOVE_VERSION-win32.zip" "https://github.com/love2d/love/releases/download/$LOVE_VERSION/love-$LOVE_VERSION-win32.zip"
fi fi
unzip -qq "$CACHE_DIR/love-$LOVE_VERSION-win32.zip" unzip -qq "$CACHE_DIR/love-$LOVE_VERSION-win32.zip"
@ -995,9 +995,9 @@ if [[ $X64 == true ]] && compare_version "$LOVE_VERSION" '>=' '0.8.0'; then
if [[ ! -f "$CACHE_DIR/love-$LOVE_VERSION-win64.zip" ]]; then if [[ ! -f "$CACHE_DIR/love-$LOVE_VERSION-win64.zip" ]]; then
if compare_version "$LOVE_VERSION" '>=' '0.9.0'; then if compare_version "$LOVE_VERSION" '>=' '0.9.0'; then
curl -L -C - -o "$CACHE_DIR/love-$LOVE_VERSION-win64.zip" "https://bitbucket.org/rude/love/downloads/love-$LOVE_VERSION-win64.zip" curl -L -C - -o "$CACHE_DIR/love-$LOVE_VERSION-win64.zip" "https://github.com/love2d/love/releases/download/$LOVE_VERSION/love-$LOVE_VERSION-win64.zip"
else else
curl -L -C - -o "$CACHE_DIR/love-$LOVE_VERSION-win-x64.zip" "https://bitbucket.org/rude/love/downloads/love-$LOVE_VERSION-win-x64.zip" curl -L -C - -o "$CACHE_DIR/love-$LOVE_VERSION-win-x64.zip" "https://github.com/love2d/love/releases/download/$LOVE_VERSION/love-$LOVE_VERSION-win64.zip"
fi fi
fi fi