1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

chore: update release steps in CONTRIBUTING.md

This commit is contained in:
Ivar Conradi Østhus 2022-04-06 21:01:28 +02:00 committed by GitHub
parent 66c66c7e4a
commit cf5878a4b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ The controller takes care of the following:
## Creating a release ## Creating a release
In order to produce a release you will need to be a Unleash core team member and have the Unleash admin role assigned on the Unleash organization on GitHub. In order to produce a release you will need to be a Unleash core team member and have the Unleash admin role assigned on the Unleash organization on GitHub.
# Step 1: create a new version tag ### Step 1: create a new version tag
Use npm to set the version in package.json and specify a version tag. Use npm to set the version in package.json and specify a version tag.
@ -78,3 +78,11 @@ This command will trigger an internal verification step where we will perform th
- *STEP 4. Test* - Validate that all test runs green. - *STEP 4. Test* - Validate that all test runs green.
If all steps completes a single commit is produced on the main branch where the `version` property in package.json is updated, and a git tag is created to point to that tag specifically. If all steps completes a single commit is produced on the main branch where the `version` property in package.json is updated, and a git tag is created to point to that tag specifically.
### Step 2: push tag
```sh
git push origin main --follow-tags
```
This will push the new tag and a GitHub action will trigger on the new version tag, build the release and publish it to npm.