diff --git a/.drone.yml b/.drone.yml index 4a8d8bb..9333f4e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ name: default steps: - name: prepare - image: v7lin/flutter:1.5.4-hotfix.2-stable + image: v7lin/flutter:1.7.8-hotfix.3-stable volumes: - name: pub-cache path: /opt/flutter/.pub-cache @@ -11,7 +11,7 @@ steps: - flutter packages get #- name: build_runner -# image: v7lin/flutter:1.5.4-hotfix.2-stable +# image: v7lin/flutter:1.7.8-hotfix.3-stable # volumes: # - name: pub-cache # path: /opt/flutter/.pub-cache @@ -19,7 +19,7 @@ steps: # - flutter packages pub run build_runner build - name: format - image: v7lin/flutter:1.5.4-hotfix.2-stable + image: v7lin/flutter:1.7.8-hotfix.3-stable volumes: - name: pub-cache path: /opt/flutter/.pub-cache @@ -27,7 +27,7 @@ steps: - flutter format --dry-run --set-exit-if-changed . - name: analyze - image: v7lin/flutter:1.5.4-hotfix.2-stable + image: v7lin/flutter:1.7.8-hotfix.3-stable volumes: - name: pub-cache path: /opt/flutter/.pub-cache @@ -35,7 +35,7 @@ steps: - flutter analyze - name: test - image: v7lin/flutter:1.5.4-hotfix.2-stable + image: v7lin/flutter:1.7.8-hotfix.3-stable volumes: - name: pub-cache path: /opt/flutter/.pub-cache @@ -45,7 +45,7 @@ steps: - flutter test - name: proguard - image: v7lin/flutter:1.5.4-hotfix.2-stable + image: v7lin/flutter:1.7.8-hotfix.3-stable volumes: - name: pub-cache path: /opt/flutter/.pub-cache @@ -62,6 +62,18 @@ steps: from_secret: CODECOV_TOKEN files: - ./coverage/lcov.info + when: + event: + exclude: + - pull_request + +- name: publish-check + image: v7lin/flutter:1.7.8-hotfix.3-stable + volumes: + - name: pub-cache + path: /opt/flutter/.pub-cache + commands: + - flutter packages pub publish --dry-run volumes: - name: pub-cache @@ -74,14 +86,6 @@ kind: pipeline name: publish steps: -- name: publish-check - image: v7lin/flutter:1.5.4-hotfix.2-stable - volumes: - - name: pub-cache - path: /opt/flutter/.pub-cache - commands: - - flutter packages pub publish --dry-run - - name: restore-cache image: alpine:3.9.3 volumes: @@ -107,7 +111,7 @@ steps: - rm $FLUTTER_HOME/credentials.json.enc - name: publish - image: v7lin/flutter:1.5.4-hotfix.2-stable + image: v7lin/flutter:1.7.8-hotfix.3-stable volumes: - name: pub-cache path: /opt/flutter/.pub-cache diff --git a/CHANGELOG.md b/CHANGELOG.md index a5d7b4d..632b73a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,21 @@ -## [0.2.1] - 2019.5.29 +## 0.2.2 - 2019.7.12 + +* 简化 + +## 0.2.1 - 2019.5.29 * 添加大图分享 * 添加图文分享 -## [0.2.0] - 2019.5.24 +## 0.2.0 - 2019.5.24 * 优化 * 自动化发布 -## [0.1.0] - 2019.3.19 +## 0.1.0 - 2019.3.19 * 规范 library 代码 -## [0.0.1] - 2019.3.5 +## 0.0.1 - 2019.3.5 * android/ios weibo diff --git a/pubspec.yaml b/pubspec.yaml index 3220cd7..106dd85 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: fake_weibo description: A powerful weibo plugin for Flutter. -version: 0.2.1 +version: 0.2.2 author: v7lin homepage: https://github.com/v7lin/fake_weibo