From 0f7ce914e7071750a2f939e504d2f0945f4cc0b2 Mon Sep 17 00:00:00 2001 From: Jindra Date: Wed, 1 Sep 2021 15:15:20 +0200 Subject: [PATCH] ci: change only tags to CI_COMMIT_TAG --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e77bede1..e8d9ec1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,8 +57,6 @@ dry-run: script: - dart pub get - dart pub publish --dry-run - only: - - merge_requests pub-dev: stage: publish @@ -95,6 +93,6 @@ pub-dev: } EOF - dart pub get - - dart pub publish --dry-run - only: - - tags + - dart pub publish + rules: + - if: $CI_COMMIT_TAG