TAG="1.7.0-alpha.3"
BASENAME="neverball-${TAG}"cd neverball
git status
git tag -a "$TAG" -m "Neverball "$TAG""
git push origin tag "$TAG"This uses Docker.
# Compile data on host
make -j8 sols locales desktops
# Remove host object files
make clean-src
# Compile executables in a Docker container
docker run --rm --volume $(pwd):/neverball --workdir /neverball parasti/neverball-mingw mingw32-make -j8 -o sols -o locales -o desktops PLATFORM=mingw
# Copy DLLs from Docker to current directory
docker run --rm --volume $(pwd):/neverball --workdir /neverball parasti/neverball-mingw mingw-list-deps --copy neverball.exe neverputt.exe mapc.exeIf you get a image's platform does not match the host platform error when running the docker commands, enable QEMU support with the following command:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yesand now try running the command again, but this time adding --platform linux/arm64 after --rm.
# Symlink to force a prefix on archive filenames
ln -s . ./"$BASENAME"
# Make the ZIP, manage infinite recursion due to the symlink
zip -r ./"$BASENAME".zip ./"$BASENAME" -x '*/'"$BASENAME"'/*' '*/.vscode/*' '*/.git/*' '*.o' '*.d' '.DS_Store'
# Remove the symlink
rm "$BASENAME"Just do it.
https://github.com/Neverball/neverball/releases/new
Attach the ZIP file. Set as pre-release because alpha.