From 03460e910a8324d4f3cbebea16f58ee0b4b21119 Mon Sep 17 00:00:00 2001 From: Frank Duncan Date: Sun, 19 Dec 2021 00:44:15 -0600 Subject: [PATCH] Add release build script --- bin/buildRelease.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 bin/buildRelease.sh 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" -- 2.25.1