Skip to content

Commit 9751313

Browse files
committed
chore: add release please configuration
1 parent c50bf99 commit 9751313

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
## Runs the release-please action for all new pushes to the main branch.
16+
## This will create new release-PRs, create GitHub and npm releases,
17+
## and update the CHANGELOG.md.
18+
19+
on:
20+
push:
21+
branches:
22+
- main
23+
24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.ref }}
26+
cancel-in-progress: true
27+
28+
permissions:
29+
contents: write
30+
pull-requests: write
31+
32+
name: release-please
33+
34+
jobs:
35+
release-please:
36+
runs-on: ubuntu-latest
37+
outputs:
38+
release_ready: ${{ steps.release.outputs.release_created }}
39+
steps:
40+
- id: release
41+
name: Release Please
42+
uses: googleapis/release-please-action@v4
43+
with:
44+
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}

.release-please-manifest.json

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

release-please-config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"release-type": "node",
4+
"include-component-in-tag": false,
5+
"include-v-in-tag": true,
6+
"bump-minor-pre-major": true,
7+
"bump-patch-for-minor-pre-major": true,
8+
"packages": {
9+
".": {
10+
"package-name": "@googlemaps/react-native-driver-sdk",
11+
"changelog-path": "CHANGELOG.md"
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)