-
Notifications
You must be signed in to change notification settings - Fork 36
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
1 parent
1db6c33
commit 7199462
Showing
1 changed file
with
29 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,29 @@ | ||
# Release Process | ||
|
||
This document provides a comprehensive guide on the steps to execute a release for this project. | ||
|
||
## Prerequisites | ||
|
||
Before initiating the release process, ensure the following prerequisites are met: | ||
|
||
- Commit messages must adhere to the [conventional commit specification](https://www.conventionalcommits.org/). | ||
- Proper permissions are in place to create and manage releases. | ||
|
||
## Steps | ||
|
||
### 1. Create Release | ||
|
||
1. **Merge Pull Request to appropriate branch:** | ||
- Ensure that the changes intended for release are encapsulated in a Pull Request. | ||
- Merge the approved Pull Request into the `main`. Currently, | ||
only the `main`, `beta` branches are allowed for releasing. | ||
|
||
2. **Manual execution of [Release](workflows/release.yml) Action:** | ||
- The `Release` GitHub Action automates versioning based on conventional commit messages. Pipeline creates tag, release, | ||
and pushes new commit in which updates `CHANGELOG.md` and version in `package.json`. | ||
- Click on the `Run workflow` button and select the desired branch or run the following command: | ||
`gh workflow run --ref <branch|tag> release.yml`. | ||
|
||
### 2. Publish Release | ||
|
||
1. Releases on GitHub are automatically uploaded to `https://pkg.go.dev` (it requires some time to registry index the release). |