Skip to content
Snippets Groups Projects
Commit fbc0b5b4 authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Add jabber notification on create tag

parent 6f1800ae
No related branches found
No related tags found
1 merge request!23Resolve "Add jabber notification on create tag"
Pipeline #1611 passed
......@@ -96,6 +96,7 @@ application:release:
dependencies:
- android:build-release
script:
- apk --no-cache add curl
- git config user.email "${GITLAB_USER_EMAIL}"
- git config user.name "${GITLAB_USER_NAME}"
- git remote set-url origin https://oauth2:${GITLAB_ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}
......@@ -110,6 +111,7 @@ application:release:
else
git tag -a "${TAG_NAME}" -m "Release ${VERSION_NAME} (${VERSION_CODE})"
git push origin "${TAG_NAME}"
curl --silent -d "{\"token\": \"${JABBER_NOTIFICATION_TOKEN}\", \"message\": \"New tag for ${CI_PROJECT_PATH}: ${TAG_NAME}\"}" -H "Content-Type: application/json" -X POST ${JABBER_NOTIFICATION_URL}
fi
android:deploy:
......
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
app.versionName=0.0.20
app.versionCode=20
app.versionName=0.0.21
app.versionCode=21
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment