From: Frank Duncan Date: Sun, 19 Dec 2021 06:44:15 +0000 (-0600) Subject: Add release build script X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?a=commitdiff_plain;h=03460e910a8324d4f3cbebea16f58ee0b4b21119;p=opera Add release build script --- diff --git a/bin/buildRelease.sh b/bin/buildRelease.sh new file mode 100755 index 0000000..9324a9d --- /dev/null +++ b/bin/buildRelease.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +version=$(sbcl --noinform --disable-ldb --lose-on-corruption --end-runtime-options --eval '(format t "~A" (asdf:component-version (asdf:find-system :opera)))' --eval "(quit)") + +echo -n "Building version $version, hit enter to continue" +read + +mkdir -p opera_$version/src/main +cp -ap src/main/* opera_$version/src/main +cp -ap opera.asd opera_$version/ +tar zcf opera_${version}.tar.gz opera_$version/ +rm -rf opera_$version + +echo "All done, it's in opera_${version}.tar.gz, you should tag it and push it up to github"