From 19502f8fb3c2de30b4892a0f243c6af3efa464c7 Mon Sep 17 00:00:00 2001 From: lisong01 Date: Thu, 25 Jan 2024 10:53:14 +0800 Subject: [PATCH] delete tag file --- InManageBoot-iboot/tag.sh | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 InManageBoot-iboot/tag.sh diff --git a/InManageBoot-iboot/tag.sh b/InManageBoot-iboot/tag.sh deleted file mode 100644 index 3f414b4..0000000 --- a/InManageBoot-iboot/tag.sh +++ /dev/null @@ -1,35 +0,0 @@ - -#1. 修改快照版本,snapshot -> release -#2. 打 release tag -#4. - -#1. 修改快照版本,snapshot -> release -#2. 打 tag -# 打tag并 -OLD_VERSION='1.0.0' -NEW_VERSION='1.0.1-SNAPSHOT' -sed -i "s/$OLD_VERSION<\/revision>/$NEW_VERSION<\/revision>/g" pom.xml -git add . -git commit -m "$NEW_VERSION" - -echo "tag? yes or no" -read shouldTag -if [ $shouldTag =="yes" ]; then - git tag $NEW_VERSION - echo "tag success" -else - echo "no tag" -fi - - -# push tag and commit -echo "push ? yes or no" -read shouldPush -if [ $shouldPush =="yes" ]; then - git push --tags origin - git push - echo "push success" -else - echo "not push" - exit -1 -fi -- Gitee