Skip to content

Commit

Permalink
Merge pull request #61 from philips-software/release-please
Browse files Browse the repository at this point in the history
Add release-please workflow
  • Loading branch information
bartgolsteijn authored Feb 14, 2023
2 parents 38c6d26 + 1289136 commit 5eeee08
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Release
on:
push:
branches:
- main

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@514bc6cdae71484c998108f2136a8f5e4c62b9b9 # ratchet:google-github-actions/release-please-action@v3
with:
release-type: node
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,16 @@ npm test
```

See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages.

## Releases

This project uses [Release Please](https://github.com/googleapis/release-please) to create releases.
This will automate the release process based on [Conventional Commit messages](https://www.conventionalcommits.org/).

Please make sure to use:
- `fix:` which represents bug fixes, and correlates to a [SemVer](https://semver.org/) patch.
- `feat:` which represents a new feature, and correlates to a SemVer minor.
- `feat!:`, or `fix!`:, `refactor!`:, etc., which represent a breaking change (indicated by the !) and will result in a SemVer major.

When you want to force a PR with a certain version use [the following instructions](https://github.com/googleapis/release-please#how-do-i-change-the-version-number).

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ If you have a suggestion that would make this project better, please fork the re

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
3. Commit your Changes (`git commit -m 'feat: Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

Expand Down

0 comments on commit 5eeee08

Please sign in to comment.