Skip to content

Commit

Permalink
Publish and release 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rydmike committed Jul 1, 2021
1 parent 36cd94c commit 0e6fd06
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This GitHub action runs on pull request to master, it:
#
# - Installs dart and flutter
# - Uses flutter stable channel. Might setup a matrix later with beta and dev included too.
# - Enables flutter web
Expand All @@ -19,19 +18,17 @@
# - Use rpl to fix/modify the index.html file to give it the correct href deployment sub-folder.
# - This CI/CD stops here, it does not deploy, that is done by the deploy workflow, that is otherwise identical,
# but runs on release, when it is published, created or edited.
#
# TODO Maybe set this workflow up to also run on a weekly schedule to check that nothing is broken?
# Also planning to setup a matrix test run, but this one is anyway a nice test
# since it does not just runs tests, it also builds actual Web apps using the package.
#
name: Build Web
on:
#pull_request:
# branches: [ none ]
# branches: [none]
push:
branches: [none]
# release:
# types: [ published ]
# types: [published]
jobs:
flutter_tests:
name: Analyze, test and build 5 web apps
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This GitHub action runs on a release, when it is published, created or edited.
#
# - Installs dart and flutter
# - Uses flutter stable channel. Might setup a matrix later with beta and dev included too.
# - Enables flutter web
Expand All @@ -18,7 +17,6 @@
# - Flutter build web app, in release mode and with CanvasKit renderer.
# - Use rpl to fix/modify the index.html file to give it the correct href deployment sub-folder.
# - Deploy each built Web App to GitHub pages.
#
name: Deploy Web
on:
release:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This GitHub action runs on push to master, it:
#
# - Installs dart and flutter
# - Uses flutter stable channel. Might setup a matrix later with beta and dev included too.
# - Gets package dependencies
Expand All @@ -9,11 +8,10 @@
# dart format is not used.
# - Run all tests with coverage.
# - Upload code coverage output to Codecov for analysis.
#
name: Test
on:
push:
branches: [master]
branches: [none]
jobs:
flutter_test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion example/lib/shared/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AppConst {
static const String version = '3.0.1';
static const String packageVersion = 'FlexColorScheme package $version';
static const String packageUrl = 'https://pub.dev/packages/flex_color_scheme';
static const String flutterVersion = 'Channel stable, 2.2.2, CanvasKit';
static const String flutterVersion = 'Channel stable, 2.2.1, CanvasKit';
static const String copyright = '© 2020, 2021';
static const String author = 'Mike Rydstrom';
static const String license = 'BSD 3-Clause License';
Expand Down
4 changes: 1 addition & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ dependencies:
cupertino_icons: ^1.0.3

# Color scheme package (by Mike Rydstrom, rydmike.com).
# flex_color_scheme: ^3.0.0
flex_color_scheme:
path: ../
flex_color_scheme: ^3.0.1

# The Flutter SDK (by Google flutter.dev).
flutter:
Expand Down

0 comments on commit 0e6fd06

Please sign in to comment.