do not tag legacy
This commit is contained in:
parent
57eac48c79
commit
527c46c5ca
@ -21,18 +21,3 @@ 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
|
Reference in New Issue
Block a user