diff --git a/bin/check_dependency_updates.sh b/bin/check_dependency_updates.sh index c23df1574..20b83f908 100755 --- a/bin/check_dependency_updates.sh +++ b/bin/check_dependency_updates.sh @@ -16,4 +16,6 @@ # Check dependency, thanks to t-io #-------------------------------------- +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh mvn versions:display-dependency-updates diff --git a/bin/cobertura.sh b/bin/cobertura.sh index 684d2881d..3ca251086 100755 --- a/bin/cobertura.sh +++ b/bin/cobertura.sh @@ -12,4 +12,6 @@ # See the Mulan PSL v2 for more details. # +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh exec mvn cobertura:cobertura diff --git a/bin/commit.sh b/bin/commit.sh index fb0962eb6..86461676e 100755 --- a/bin/commit.sh +++ b/bin/commit.sh @@ -12,7 +12,10 @@ # See the Mulan PSL v2 for more details. # +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh + git add . git commit -am "$1" -bin/push_dev.sh +"$(dirname ${BASH_SOURCE[0]})"/push_dev.sh diff --git a/bin/deploy.sh b/bin/deploy.sh index deefaa3e4..24d30c4af 100755 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -5,11 +5,14 @@ # Hutool is licensed under Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a copy of Mulan PSL v2 at: -# http://license.coscl.org.cn/MulanPSL2 +# https://license.coscl.org.cn/MulanPSL2 # THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, # MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. # See the Mulan PSL v2 for more details. # +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh + mvn clean deploy -P release diff --git a/bin/fast_install.sh b/bin/fast_install.sh deleted file mode 100755 index 805673423..000000000 --- a/bin/fast_install.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -# -# Copyright (c) 2023 looly(loolly@aliyun.com) -# Hutool is licensed under Mulan PSL v2. -# You can use this software according to the terms and conditions of the Mulan PSL v2. -# You may obtain a copy of Mulan PSL v2 at: -# http://license.coscl.org.cn/MulanPSL2 -# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, -# EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, -# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. -# See the Mulan PSL v2 for more details. -# - -exec mvn clean source:jar javadoc:javadoc install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dmaven.compile.fork=true diff --git a/bin/install.sh b/bin/install.sh index 81b774690..a090978f8 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -12,4 +12,7 @@ # See the Mulan PSL v2 for more details. # +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh + exec mvn clean source:jar javadoc:javadoc install -Dmaven.test.skip=false -Dmaven.javadoc.skip=false -Dmaven.compile.fork=true diff --git a/bin/javadoc.sh b/bin/javadoc.sh index 1eb31160d..b73a989c5 100755 --- a/bin/javadoc.sh +++ b/bin/javadoc.sh @@ -12,5 +12,8 @@ # See the Mulan PSL v2 for more details. # +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh + # 多模块聚合文档,生成在target/site/apidocs exec mvn javadoc:aggregate diff --git a/bin/package.sh b/bin/package.sh index 154854247..02840340f 100755 --- a/bin/package.sh +++ b/bin/package.sh @@ -12,4 +12,7 @@ # See the Mulan PSL v2 for more details. # +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh + exec mvn clean source:jar javadoc:javadoc package -Dmaven.test.skip=false -Dmaven.javadoc.skip=false diff --git a/bin/push_master.sh b/bin/push_master.sh index 5c2b92ece..04c828a9a 100755 --- a/bin/push_master.sh +++ b/bin/push_master.sh @@ -12,6 +12,9 @@ # See the Mulan PSL v2 for more details. # +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh + echo -e "\033[32mCheckout to v6-master\033[0m" git checkout v6-master diff --git a/bin/update_version.sh b/bin/update_version.sh index ada75c524..aafab7a45 100755 --- a/bin/update_version.sh +++ b/bin/update_version.sh @@ -18,6 +18,9 @@ # 2. 替换README.md和docs中的版本号 #------------------------------------------------ +# show Hutool logo +"$(dirname ${BASH_SOURCE[0]})"/logo.sh + if [ -z "$1" ]; then echo "ERROR: 新版本不存在,请指定参数1" exit @@ -30,4 +33,4 @@ mvn versions:set -DnewVersion=$1 version=${1%-SNAPSHOT} # 替换其它地方的版本 -"$(pwd)"/bin/replaceVersion.sh "$version" +"$(dirname ${BASH_SOURCE[0]})"/replaceVersion.sh "$version"