-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Releasing a new version | ||
|
||
We are using GitHub Actions to create the release pages, binary artifacts, and Docker images for a given release. In the actions we also use the tool [Knope](https://github.com/knope-dev/knope) to do semantic versioning. | ||
|
||
Knope will follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) so if you annotate your PR titles with the appropiate prefix, that will pick up to do a minor or patch version. | ||
If you need to manual increment the version you can make an empty commit following the conventional commit pattern. | ||
|
||
## Running the action | ||
|
||
* Navigate to the [Build and Release action](https://github.com/apollosolutions/persisted-query-to-rest/actions/workflows/release.yml) | ||
* Trigger a new workflow and pass in the new version you expect to release given all the previous commit history | ||
* If you have a PR with a `feat:` prefix and we are on version `v0.2.1` run the workflow with the input `v0.3.0` | ||
|