|
|
@ -43,17 +43,27 @@ echo "+ Done!" |
|
|
|
|
|
|
|
echo |
|
|
|
|
|
|
|
echo "+ Adding changed files" |
|
|
|
|
|
|
|
git config user.name "${GITHUB_ACTOR}" |
|
|
|
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" |
|
|
|
git add Dockerfile ndk/Dockerfile |
|
|
|
|
|
|
|
if output=$(git status --porcelain) && [ ! -z "$output" ]; then |
|
|
|
|
|
|
|
echo "+ Committing" |
|
|
|
|
|
|
|
git commit -a -m "Bump SDK version to $ANDROID_SDK_VERSION" |
|
|
|
git commit -m "Bump SDK version to $ANDROID_SDK_VERSION" |
|
|
|
|
|
|
|
echo "+ Tagging" |
|
|
|
|
|
|
|
git tag $ANDROID_SDK_VERSION |
|
|
|
git tag -f $ANDROID_SDK_VERSION |
|
|
|
|
|
|
|
echo "+ Pushing" |
|
|
|
|
|
|
|
git push |
|
|
|
git push --tags |
|
|
|
git push -f |
|
|
|
git push --tags -f |
|
|
|
|
|
|
|
echo "+ Done!" |
|
|
|
|
|
|
|
fi |