Skip to content

Commit 4bcc69f

Browse files
committed
Alpha checklist
1 parent 806c192 commit 4bcc69f

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

doc/alpha.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Neverball alpha release checklist
2+
3+
```sh
4+
TAG="1.7.0-alpha.3"
5+
BASENAME="neverball-${TAG}"
6+
```
7+
8+
## Publish a tag
9+
10+
```sh
11+
cd neverball
12+
git status
13+
git tag -a "$TAG" -m "Neverball "$TAG""
14+
git push origin tag "$TAG"
15+
```
16+
17+
## Build a Windows 32-bit build
18+
19+
This uses Docker.
20+
21+
```sh
22+
# Compile data on host
23+
make -j8 sols locales desktops
24+
# Compile executables in a Docker container
25+
docker run --rm --volume $(pwd):/neverball --workdir /neverball parasti/neverball-mingw mingw32-make -j8 -o sols -o locales -o desktops PLATFORM=mingw
26+
# Copy DLLs from Docker to current directory
27+
docker run --rm --volume $(pwd):/neverball --workdir /neverball parasti/neverball-mingw mingw-list-deps --copy neverball.exe neverputt.exe mapc.exe
28+
```
29+
30+
## Make a ZIP
31+
32+
```sh
33+
# Symlink to force a prefix on archive filenames
34+
ln -s . ./"$BASENAME"
35+
# Make the ZIP, manage infinite recursion due to the symlink
36+
zip -r ./"$BASENAME".zip ./"$BASENAME" -x '*/'"$BASENAME"'/*' '*/.vscode/*' '*/.git/*' '*.o' '*.d' '.DS_Store'
37+
# Remove the symlink
38+
rm "$BASENAME"
39+
```
40+
41+
## Write release notes
42+
43+
Just do it.
44+
45+
## Create a release on Github
46+
47+
https://github.com/Neverball/neverball/releases/new
48+
49+
Attach the ZIP file. Set as pre-release because alpha.

0 commit comments

Comments
 (0)