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