Skip to content

Commit

Permalink
chore: add release please (#1746)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah authored Jan 15, 2021
1 parent 77a1a1e commit 978ad42
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 550 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: release-please
on:
push:
branches:
- master
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
with:
token: ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
release-type: node
package-name: 'netlify-cli'
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ We actively welcome your pull requests.

## Releasing

1. Install dependencies. `npm ci`.
2. `npm run release`.
1. Merge the release PR
2. Switch to the default branch `git checkout master`
3. Pull latest changes `git pull`
4. Publish the package `npm publish`

## License

Expand Down
Loading

0 comments on commit 978ad42

Please sign in to comment.