From 8b10b4b7091a58064088afec8ce07c4abd4c73dc Mon Sep 17 00:00:00 2001 From: damage Date: Sat, 16 Sep 2023 22:01:07 +0200 Subject: [PATCH] stable build uses s3h.sh version no --- build/deb/build_stable.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/deb/build_stable.sh b/build/deb/build_stable.sh index 8053b1d..ea69917 100755 --- a/build/deb/build_stable.sh +++ b/build/deb/build_stable.sh @@ -2,10 +2,15 @@ NAME=s3h -VERSION=1.2 +VERSION=`../../s3h.sh -v` REVISION=1 ARCH=all +if ! git tag -l |fgrep $VERSION; then + git tag $VERSION + git push origin $VERSION +fi + curdir=`dirname $0` workdir="$curdir/${NAME}_${VERSION}-${REVISION}_${ARCH}" mkdir -p "$workdir"