Skip to content

Commit

Permalink
updating changelog action (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
thelukewalton authored Sep 11, 2023
1 parent 885fa19 commit 65f2807
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 183 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
4 changes: 2 additions & 2 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
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))_
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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

0 comments on commit 65f2807

Please sign in to comment.