Skip to content

Commit 4ba31d0

Browse files
committed
chore: updated release workflows
1 parent bbb3723 commit 4ba31d0

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

.github/workflows/code_quality.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ jobs:
3232
uses: dart-lang/[email protected]
3333
with:
3434
sdk: stable
35-
36-
- name: Install Melos
37-
run: dart pub global activate melos
38-
39-
- name: Bootstrap packages with Melos
40-
run: melos bootstrap
41-
4235
- name: Install Dependencies
4336
run: dart pub get
4437
- name: Build runner

.release-please-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"openapi-generator": "5.0.2",
3-
"openapi-generator-annotations": "5.0.2",
4-
"openapi-generator-cli": "5.0.2"
2+
"openapi-generator": "5.0.3",
3+
"openapi-generator-annotations": "5.0.3",
4+
"openapi-generator-cli": "5.0.3"
55
}

melos.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: openapi_generator_dart
2+
repository: https://github.com/gibahjoe/openapi-generator-dart
23

34
packages:
45
- example
@@ -14,3 +15,7 @@ command:
1415
branch: master
1516
# Additionally build a changelog at the root of the workspace.
1617
workspaceChangelog: true
18+
19+
scripts:
20+
coverage:
21+
run: dart pub global run combine_coverage --repo-path="."

release-please-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"component": "openapi-generator-cli"
1616
}
1717
},
18+
"bump-minor-pre-major": false,
19+
"bump-patch-for-minor-pre-major": false,
1820
"skip-github-release": true,
1921
"plugins": [
2022
{

scripts/combine_coverage.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
escapedPath="$(echo `pwd` | sed 's/\//\\\//g')"
3+
sed "s/^SF:lib/SF:$escapedPath\/lib/g" coverage/lcov.info >> "$MELOS_ROOT_PATH/lcov.info"
4+
rm -rf "coverage"

0 commit comments

Comments
 (0)