Preparing for release
[wolf] / bin / buildRelease.sh
1 #!/bin/bash
2
3 version=$(sbcl --noinform --disable-ldb --lose-on-corruption --end-runtime-options --eval '(format t "~A" (asdf:component-version (asdf:find-system :style-checker)))' --eval "(quit)")
4
5 echo -n "Building version $version, hit enter to continue"
6 read
7
8 mkdir style-checker_$version
9 cp -ap src/main/* style-checker_$version/
10 tar zcf style-checker_${version}.tar.gz style-checker_$version/
11 rm -rf style-checker_$version
12
13 echo "All done, it's in style-checker_${version}.tar.gz, you should tag it and push it up to github"