Skip to content

Commit

Permalink
updating changelog action (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
thelukewalton committed Sep 11, 2023
1 parent 885fa19 commit b69f5b4
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 186 deletions.
109 changes: 0 additions & 109 deletions .github/merge.yml

This file was deleted.

68 changes: 0 additions & 68 deletions .github/pr.yml

This file was deleted.

11 changes: 9 additions & 2 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ jobs:
- name: Change flutter version tag
run: |
echo "FLUTTER_BUILD_VERSION=$(cider bump patch --bump-build)" >> "$GITHUB_ENV"
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ secrets.PAT }}
tag: ${{ steps.read-version.outputs.version-number }}
excludeTypes: ""
includeInvalidCommits: true
- name: Update
id: update
run: |
Expand Down Expand Up @@ -85,10 +93,9 @@ jobs:
- name: Setup flutter
run: flutter pub get
- name: build
# TODO(thelukewalton): check this works
run: |
cd example
flutter build web -o ../build --no-tree-shake-icons
flutter build web -o ../build --no-tree-shake-icons --base-href "/zds_flutter/"
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
5 changes: 2 additions & 3 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
example/
assets/
test/
test/
build/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## [0.2.0] - 2023-09-11

### :sparkles: New Features

- [`885fa19`](https://github.com/zebradevs/zds-flutter/commit/885fa19d4d0ec4426a259b61cb828b6c9fac175e) - init. _(commit by [@thelukewalton](https://github.com/thelukewalton))_
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

A library of Flutter components made by Zebra Technologies based on the Zebra Design System, or ZDS.

![GitHub-Mark-Light](assets/zds-light.png#gh-light-mode-only)![GitHub-Mark-Dark](assets/zds-dark.png#gh-dark-mode-only)
<picture>
<source media="(prefers-color-scheme: dark)" srcset="assets/zds-dark.png">
<img alt="zds_flutter example" src="assets/zds-light.png">
</picture>

## Requirements

Expand Down Expand Up @@ -40,7 +43,7 @@ class DemoApp extends StatelessWidget {

## Viewing the components

To view examples of all the components in the library, you can run the example app in this repo or go to [TODO: INSERT LINK HERE]
To view examples of all the components in the library, you can run the example app in this repo or go to [this link](https://zebradevs.github.io/zds_flutter).

## Theming

Expand Down
2 changes: 1 addition & 1 deletion example/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Fore more details:
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
-->
<base href="/">
<base href="$FLUTTER_BASE_HREF">

<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
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: 0.2.0
version: 0.2.2
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 b69f5b4

Please sign in to comment.