From 6566fb413859ce2357524f72a86eb4565eed6484 Mon Sep 17 00:00:00 2001 From: hiddify Date: Mon, 23 Oct 2023 11:50:52 +0200 Subject: [PATCH] =?UTF-8?q?release:=20version=2010.6.0.dev4=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 ++-- hiddify-panel/src | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ce5650025..00f6f095f 100644 --- a/Makefile +++ b/Makefile @@ -34,13 +34,13 @@ release: @bash -c '\ read -p "Version? (provide the next x.y.z semver) : " TAG && \ echo $$TAG &&\ - [[ "$$TAG" =~ ^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(\.dev)?$$ ]] || { echo "Incorrect tag. e.g., 1.2.3 or 1.2.3.dev"; exit 1; } && \ + [[ "$$TAG" =~ ^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(\.dev[0-9]{1,2})?$$ ]] || { echo "Incorrect tag. e.g., 1.2.3 or 1.2.3.dev"; exit 1; } && \ IFS="." read -r -a VERSION_ARRAY <<< "$$TAG" && \ VERSION_STR="$${VERSION_ARRAY[0]}.$${VERSION_ARRAY[1]}.$${VERSION_ARRAY[2]}" && \ echo "version: $${VERSION_STR}+$${BUILD_NUMBER}" && \ echo "${TAG}" > VERSION && \ git tag $${TAG} > /dev/null && \ - gitchangelog > HISTORY.md || { git tag -d $${TAG}; echo "Please run pip install git gitchangelog pystache mustache markdown"; exit 2; } && \ + gitchangelog > HISTORY.md || { git tag -d $${TAG}; echo "Please run pip install gitchangelog pystache mustache markdown"; exit 2; } && \ git tag -d $${TAG} > /dev/null && \ git add VERSION HISTORY.md && \ git commit -m "release: version $${TAG} 🚀" && \ diff --git a/hiddify-panel/src b/hiddify-panel/src index b67faf5ec..20109542d 160000 --- a/hiddify-panel/src +++ b/hiddify-panel/src @@ -1 +1 @@ -Subproject commit b67faf5ec83c1db18b5839ec543abc2e74b9b853 +Subproject commit 20109542da6926ac7520b09d3a177b47cd818854