release script

This commit is contained in:
Q
2025-11-05 17:36:35 +02:00
parent b8196667f6
commit 4b653b8d40

View File

@@ -1,6 +1,10 @@
#!/bin/bash
set -exu
if [[ ! -d ~/www/static/six9.net/software/q-tools/ ]]; then
echo go to server
exit 1
fi
mkdir -p ~/tmp/q-tools-release-$$
cd ~/tmp/q-tools-release-$$
git clone ssh://git@git.six9.net:8222/moonq/q-tools.git
@@ -15,8 +19,6 @@ tar \
.
ln -sfT q-tools.$version.tar.gz ~/www/static/six9.net/software/q-tools/current.tar.gz
echo $version > ~/www/static/six9.net/software/q-tools/current.txt
cd $HOME
cd ~/www/static/six9.net/software/q-tools/
rm -r ~/tmp/q-tools-release-$$
SimpleWebPage