From a0261eafa3f3ea00f97c78e70e76b46e0f443a13 Mon Sep 17 00:00:00 2001 From: "Langhammer, Jens" Date: Mon, 14 Oct 2019 13:16:36 +0200 Subject: [PATCH] ci(minor): notify sentry about new releases --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b99cfe44..9c9e80aae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,7 @@ stages: - test - build - package + - post-release image: docker.beryju.org/passbook/dev:latest variables: @@ -133,3 +134,14 @@ package-helm: only: - tags - /^version/.*$/ + +notify-sentry: + image: alpine + stage: post-release + before_script: + - apk add curl + script: + - "curl $SENTRY_RELEASE -X POST -H 'Content-Type: application/json' -d '{\"version\": \"passbook@0.6.7-beta\"}'" + only: + - tags + - /^version/.*$/