Skip to content

Commit

Permalink
chore(main): release 1.1.0 (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored and thelukewalton committed Mar 8, 2024
1 parent f30410e commit c96367c
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
code-quality:
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,22 @@ jobs:
- uses: dart-lang/setup-dart@v1
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.x"
channel: "stable"
- name: Install dependencies
run: flutter pub get
- name: Format code
run: dart format --fix .
run: |
dart format --fix .
dart fix --apply
- name: Check Publish Warnings
run: dart pub publish --dry-run
- name: Publish
run: dart pub publish --force
deploy-preview:
name: Deploy preview version of the example app on firebase
deploy:
name: Deploy the example app on firebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.x"
channel: "stable"
- name: Setup flutter
run: flutter pub get
- name: Build example app
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ jobs:
id: branch-name
uses: tj-actions/[email protected]
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.x"
channel: "stable"
- name: Setup flutter
run: flutter pub get
- name: Lint and format
Expand All @@ -88,9 +85,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.x"
channel: "stable"
- name: Setup flutter
run: flutter pub get
- name: Build example app
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.0.1"
".": "1.1.0"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

- [`21a2bb9`](https://github.com/ZebraDevs/zds_flutter/commit/21a2bb9905cbedf381cb04cf37b31fc4c12275d8) - fix dependency violation. \_(commit by @thelukewalton)

## [1.1.0](https://github.com/ZebraDevs/zds_flutter/compare/1.0.1...v1.1.0) (2024-03-08)


### Features

* Audio player feat: Camera view feat: Video player feat: Star rating feat: Interactive viewer feat: Speed scroll list fix: Add semantics to SplitTabNavigator chore: enable GitHub actions for code quality, preview, release fix: html viewer bugs chore: update dependencies chore: Update icons chore: Update flutter_quill chore: Update translations ([8c86b9c](https://github.com/ZebraDevs/zds_flutter/commit/8c86b9ce527ea64124c4f675bb7752ee0f6144b2))
* Update to match internal repo ([#6](https://github.com/ZebraDevs/zds_flutter/issues/6)) ([8e04f23](https://github.com/ZebraDevs/zds_flutter/commit/8e04f238c831884750c1dafd08bef9ea060bf0d4))


### Bug Fixes

* remove voice note option on web ([#7](https://github.com/ZebraDevs/zds_flutter/issues/7)) ([f30410e](https://github.com/ZebraDevs/zds_flutter/commit/f30410e2fb6ad84de85c72c13fdef5efaf7c3937))

## [1.0.0] - 2024-01-02

### :sparkles: New features
Expand Down
7 changes: 5 additions & 2 deletions lib/src/components/organisms/file_preview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ class ZdsFilePreview extends StatelessWidget {

Widget _getPreview(double size) {
return file.content is GiphyGif
// ignore: avoid_dynamic_calls
? _getImage(Uri.parse(file.content.images!.previewGif.url as String), size)
? _getImage(
// ignore: avoid_dynamic_calls
Uri.parse(file.content.images!.previewGif.url as String),
size,
)
: file.isImage()
? _getImage(file.content, size)
: _getFile(file);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: zds_flutter
description: Zebra Design System components for Flutter. A selection of UI components from Zebra Technologies.
version: 1.0.1
version: 1.1.0
homepage: https://github.com/zebradevs/zds_flutter
repository: https://github.com/zebradevs/zds_flutter
issue_tracker: https://github.com/zebradevs/zds_flutter/issues
Expand Down

0 comments on commit c96367c

Please sign in to comment.