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