Skip to content

Commit 0b365ee

Browse files
authored
chore: use release-please action (#362)
1 parent 0b8df18 commit 0b365ee

File tree

4 files changed

+299
-1475
lines changed

4 files changed

+299
-1475
lines changed

.github/workflows/release-please.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: release-please
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release-please:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: GoogleCloudPlatform/release-please-action@v2
11+
with:
12+
token: ${{ secrets.GITHUB_TOKEN }}
13+
release-type: node
14+
package-name: 'netlify-lambda'

CONTRIBUTING.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@ After submitting the pull request, please make sure the Continuous Integration c
4343

4444
## Releasing
4545

46-
```bash
47-
npm version [major|minor|patch]
48-
```
49-
50-
Then:
51-
52-
```bash
53-
npm publish
54-
```
46+
1. Merge the release PR
47+
2. Switch to the default branch `git checkout master`
48+
3. Pull latest changes `git pull`
49+
4. Publish the package `npm publish`

0 commit comments

Comments
 (0)