From 103da4de02a4d9b14a9abaf8facaa73ffed6b4ec Mon Sep 17 00:00:00 2001 From: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:27:02 +0200 Subject: [PATCH] Update CONTRIBUTING.md and add releasing --- CONTRIBUTING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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).