Skip to content

Commit eecfeb1

Browse files
committed
create config and manifest files and update bloc lint veresion in dart and flutter package workflows
1 parent a2ade40 commit eecfeb1

File tree

5 files changed

+25
-5
lines changed

5 files changed

+25
-5
lines changed

.github/workflows/dart_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
- name: ✅ Bloc Lint
112112
if: ${{inputs.run_bloc_lint}}
113113
run: |
114-
dart pub global activate bloc_tools
114+
dart pub global activate bloc_tools 0.3.5
115115
bloc lint .
116116
117117
- name: 🧪 Run Tests

.github/workflows/flutter_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
- name: ✅ Bloc Lint
113113
if: ${{inputs.run_bloc_lint}}
114114
run: |
115-
flutter pub global activate bloc_tools
115+
flutter pub global activate bloc_tools 0.3.5
116116
bloc lint .
117117
118118
- name: 🧪 Run Tests

.github/workflows/release_please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: googleapis/release-please-action@v4
18-
id: release
18+
id: release-please
1919
with:
2020
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
21-
release-type: simple
22-
package-name: very_good_workflows
21+
manifest-file: ".release-please-manifest.json"
22+
config-file: ".release-please-config.json"

.release-please-config.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"changelog-sections": [
4+
{ "type": "feat", "section": "Features" },
5+
{ "type": "fix", "section": "Bug Fixes" },
6+
{ "type": "refactor", "section": "Refactors" },
7+
{ "type": "chore", "section": "Miscellaneous Chores" },
8+
{ "type": "docs", "section": "Docs" }
9+
],
10+
"pull-request-header": ":rotating_light: There are changes ready for release :rocket:\n\nℹ Merge this PR once the team confirms the release is ready.\n",
11+
"packages": {
12+
".": {
13+
"release-type": "simple",
14+
"pull-request-title-pattern": "chore: release ${version}"
15+
}
16+
}
17+
}

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "2.0.0"
3+
}

0 commit comments

Comments
 (0)