From 5fac9fe0468d41b60d29d63a2fc43a87e67e0c1f Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 12 Jan 2022 18:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8F=91=E5=B8=83=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec.sh b/spec.sh index cbdaf9da..43f50b8c 100755 --- a/spec.sh +++ b/spec.sh @@ -10,13 +10,13 @@ repace() { make release VERSION=$(go run . version) rm -rf ../xiang-spec/xiang/* -cp dist/release/xiang-* ../xiang-spec/xiang/ +cp dist/release/xiang-* ~/Code/bin/ rm -f ~/Code/bin/xiang -ln -s ~/Code/yao/xiang-spec/xiang/xiang-$VERSION-darwin-amd64 ~/Code/bin/xiang +ln -s ~/Code/bin/xiang-$VERSION-darwin-amd64 ~/Code/bin/xiang # 更新 README.md 中的版本 -repace "s/\[[0-9]+\.[0-9]+\.[0-9]+\]/[$VERSION]/g" -repace "s/\-[0-9]+\.[0-9]+\.[0-9]+\-/-$VERSION-/g" -repace "s/Version\:[0-9]+\.[0-9]+\.[0-9]+/Version:$VERSION/g" +# repace "s/\[[0-9]+\.[0-9]+\.[0-9]+\]/[$VERSION]/g" +# repace "s/\-[0-9]+\.[0-9]+\.[0-9]+\-/-$VERSION-/g" +# repace "s/Version\:[0-9]+\.[0-9]+\.[0-9]+/Version:$VERSION/g" make clean \ No newline at end of file