diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 768989a..a121210 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,3 +14,14 @@ - Clone the repo locally `git clone https://github.com/grafana/infinity-libs infinity-libs` and `cd infinity-libs` - Install packages `yarn` - Run the backend tests with `yarn test` + +## Releasing + +To create a new version of a package for release, follow these steps: + +1. Check out the commit you want to tag by running: `git checkout `. + - **Note:** Ensure that this commit includes the updated version in the `package.json` of the package you wish to release. +2. Tag the commit with: `git tag lib/go//` (e.g., **lib/go/jsonframer/v1.1.1**). + - **Note:** We are using lightweight tags, so no additional options are necessary. +3. Push the tag to the remote repository with: `git push origin lib/go//`. +4. Verify that the tag was created successfully [here](https://github.com/grafana/infinity-libs/tags).