do not tag legacy
This commit is contained in:
parent
57eac48c79
commit
527c46c5ca
@ -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
|
||||
cd $CURRENT_DIR/doric-android && ./gradlew clean publishAll
|
Reference in New Issue
Block a user