简化 & CI镜像升级

This commit is contained in:
v7lin 2019-07-13 01:15:43 +08:00
parent a00cfa6b3e
commit 5120207d51
3 changed files with 28 additions and 20 deletions

View File

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

View File

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

View File

@ -1,6 +1,6 @@
name: fake_weibo
description: A powerful weibo plugin for Flutter.
version: 0.2.1
version: 0.2.2
author: v7lin <v7lin@qq.com>
homepage: https://github.com/v7lin/fake_weibo