-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Neverball alpha release checklist | ||
|
||
```sh | ||
TAG="1.7.0-alpha.3" | ||
BASENAME="neverball-${TAG}" | ||
``` | ||
|
||
## Publish a tag | ||
|
||
```sh | ||
cd neverball | ||
git status | ||
git tag -a "$TAG" -m "Neverball "$TAG"" | ||
git push origin tag "$TAG" | ||
``` | ||
|
||
## Build a Windows 32-bit build | ||
|
||
This uses Docker. | ||
|
||
```sh | ||
# Compile data on host | ||
make -j8 sols locales desktops | ||
# 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.exe | ||
``` | ||
|
||
## Make a ZIP | ||
|
||
```sh | ||
# 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" | ||
``` | ||
|
||
## Write release notes | ||
|
||
Just do it. | ||
|
||
## Create a release on Github | ||
|
||
https://github.com/Neverball/neverball/releases/new | ||
|
||
Attach the ZIP file. Set as pre-release because alpha. |