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:
- 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