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