From 9394474ae34afa31e148a9aabfe7a945d63a31a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Harrault?= <benoit@harrault.fr> Date: Wed, 30 Jun 2021 14:00:22 +0200 Subject: [PATCH] Send jabber notification on create new tag --- .gitlab-ci.yml | 1 + android/gradle.properties | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b3d9a5d..11ab5a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -110,6 +110,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: diff --git a/android/gradle.properties b/android/gradle.properties index ea55fb0..cf8c660 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,5 +1,5 @@ org.gradle.jvmargs=-Xmx1536M android.useAndroidX=true android.enableJetifier=true -app.versionName=1.0.4 -app.versionCode=5 +app.versionName=1.0.5 +app.versionCode=6 -- GitLab