ci: change only tags to CI_COMMIT_TAG

This commit is contained in:
Jindra 2021-09-01 15:15:20 +02:00 committed by Krille Fear
parent 05400ec0ef
commit 0f7ce914e7
1 changed files with 3 additions and 5 deletions

View File

@ -57,8 +57,6 @@ dry-run:
script: script:
- dart pub get - dart pub get
- dart pub publish --dry-run - dart pub publish --dry-run
only:
- merge_requests
pub-dev: pub-dev:
stage: publish stage: publish
@ -95,6 +93,6 @@ pub-dev:
} }
EOF EOF
- dart pub get - dart pub get
- dart pub publish --dry-run - dart pub publish
only: rules:
- tags - if: $CI_COMMIT_TAG