From d4737dc1de98182b3bac9f97c0a127fb531c7c57 Mon Sep 17 00:00:00 2001 From: tomchon Date: Fri, 23 Jul 2021 17:48:03 +0800 Subject: [PATCH] modify release scripts --- packaging/tools/makearbi.sh | 2 +- packaging/tools/makeclient.sh | 2 +- packaging/tools/makepkg.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/tools/makearbi.sh b/packaging/tools/makearbi.sh index 5346a79c8f..6dcabc2a06 100755 --- a/packaging/tools/makearbi.sh +++ b/packaging/tools/makearbi.sh @@ -59,7 +59,7 @@ pkg_name=${install_dir}-${osType}-${cpuType} # exit 1 # fi -if [ "$verType" == "beta" ]; then +if [[ "$verType" == "beta" ]] || [[ "$verType" == "preRelease" ]]; then pkg_name=${install_dir}-${verType}-${osType}-${cpuType} elif [ "$verType" == "stable" ]; then pkg_name=${pkg_name} diff --git a/packaging/tools/makeclient.sh b/packaging/tools/makeclient.sh index 97e80088be..8fc431bfbc 100755 --- a/packaging/tools/makeclient.sh +++ b/packaging/tools/makeclient.sh @@ -182,7 +182,7 @@ pkg_name=${install_dir}-${osType}-${cpuType} # exit 1 # fi -if [ "$verType" == "beta" ]; then +if [[ "$verType" == "beta" ]] || [[ "$verType" == "preRelease" ]]; then pkg_name=${install_dir}-${verType}-${osType}-${cpuType} elif [ "$verType" == "stable" ]; then pkg_name=${pkg_name} diff --git a/packaging/tools/makepkg.sh b/packaging/tools/makepkg.sh index 56ab24426f..1064f0b0e5 100755 --- a/packaging/tools/makepkg.sh +++ b/packaging/tools/makepkg.sh @@ -215,7 +215,7 @@ pkg_name=${install_dir}-${osType}-${cpuType} # exit 1 # fi -if [ "$verType" == "beta" ]; then +if [[ "$verType" == "beta" ]] || [[ "$verType" == "preRelease" ]]; then pkg_name=${install_dir}-${verType}-${osType}-${cpuType} elif [ "$verType" == "stable" ]; then pkg_name=${pkg_name} -- GitLab