diff --git a/.drone.yml b/.drone.yml index c8660d9..7ae3136 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,13 +8,13 @@ steps: commands: - luacheck --std +love -g -u -t . - name: build - image: ubuntu:jammy + image: bash when: event: tag commands: - - apt-get update - - apt-get upgrade - - apt-get -y install curl zip git + - apk update + - apk upgrade + - apk --no-cache add curl zip git - chmod +x tools/build.sh - bash tools/build.sh - name: release diff --git a/tools/build.sh b/tools/build.sh index d2a9ce6..470cd14 100644 --- a/tools/build.sh +++ b/tools/build.sh @@ -33,17 +33,17 @@ downloadlove() { rm love-$LOVE_VERSION-macos.zip cd .. - mkdir linux - cd linux - curl -L -O $LOVE_LINUX - curl -L -O $APPIMAGETOOL + #mkdir linux + #cd linux + #curl -L -O $LOVE_LINUX + #curl -L -O $APPIMAGETOOL - ./appimagetool-x86_64.AppImage --appimage-extract - mv squashfs-root appimage - chmod +x appimage/AppRun - ./love-$LOVE_VERSION-x86_64.AppImage --appimage-extract - chmod +x squashfs-root/AppRun - cd .. + #./appimagetool-x86_64.AppImage --appimage-extract + #mv squashfs-root appimage + #chmod +x appimage/AppRun + #./love-$LOVE_VERSION-x86_64.AppImage --appimage-extract + #chmod +x squashfs-root/AppRun + #cd .. cd .. } @@ -98,4 +98,4 @@ downloadlove makelove makewin64 makemac -makelinux \ No newline at end of file +#makelinux \ No newline at end of file