Move from github, collapse gltk and strictmath, add candle
[clnl] / bin / release.sh
1 #!/bin/bash
2
3 # The release process:
4 #  * Change version number in clnl.asd
5 #  * Change where the README.md points to releases
6 #  * Run bin/generatedocs.sh to update wiki
7 #  * Create linux release using bin/buildlinuxexech.sh on a linux machine
8 #  * Create osx release using bin/buildosxrelease.sh on a mac and upload
9 #  * Create windows release using bin/buildwindowsexec.sh on a windows box and upload
10 #  * Make a release commit and push up, most likely a rebase of all the commits to make the previous steps work correctly
11 #  * Run this script to create the source tarball
12 #  * Create tag, use v<MAJOR>.<MINOR>.<PATCH> as the versioning scheme
13 #  * Upload the tar.gz as an extra file
14 #  * Set the tag in ChangeLog milestones, update docs
15
16 version=$(sbcl --noinform --disable-ldb --lose-on-corruption --end-runtime-options --eval '(format t "~A" (asdf:component-version (asdf:find-system :clnl)))' --eval "(quit)")
17
18 echo -n "Building version $version, hit enter to continue"
19 read
20
21 mkdir clnl_$version
22 cp -ap src/main/* clnl_$version/
23 tar zcf clnl_${version}.tar.gz clnl_$version/
24 rm -rf clnl_$version
25
26 echo "All done, it's in clnl_${version}.tar.gz, you should tag it and release it"
27 echo "You should also build on OSX, Windows, and Linux using the various release scripts and push those up too."