ci: change only tags to CI_COMMIT_TAG
This commit is contained in:
parent
05400ec0ef
commit
0f7ce914e7
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue