From 527c46c5cabb9c051609c5ac9cc554881e0066d8 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Tue, 24 Mar 2020 20:32:34 +0800 Subject: [PATCH] do not tag legacy --- publish-android-legacy.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/publish-android-legacy.sh b/publish-android-legacy.sh index 159344cd..8f84f735 100644 --- a/publish-android-legacy.sh +++ b/publish-android-legacy.sh @@ -20,19 +20,4 @@ git cherry-pick $LATEST_HASH git tag "$CURRENT_VERSION"_legacy echo "Publish Android" -cd $CURRENT_DIR/doric-android && ./gradlew clean publishAll - -# get repo name from git -remote=$(git config --get remote.origin.url) -repo=$(basename $remote .git) - -commit=$(git rev-parse HEAD) - -curl -s -X POST https://api.github.com/repos/doric-pub/$repo/git/refs \ --H "Authorization: token $GITHUB_TOKEN" \ --d @- << EOF -{ - "ref": "refs/tags/${CURRENT_VERSION}_legacy", - "sha": "$commit" -} -EOF \ No newline at end of file +cd $CURRENT_DIR/doric-android && ./gradlew clean publishAll \ No newline at end of file