-
Notifications
You must be signed in to change notification settings - Fork 10
Developer Tips
Артём Муфазалов edited this page Nov 8, 2024
·
6 revisions
To add tracing to all requests you should write in browser console:
localStorage.enable_tracing_for_all_requests = "true"
It will add X-Want-Trace: 1
header to all requests. Tracing data will be in Traceresponse
response header
Instruction if you don't want to merge common release from the main branch, but want to make a hotfix to a current tag.
Possible scenario: you have a big release with many changes in the main branch, but you want to make a new tag and npm package with some little fix.
- Select a tag you want to add hotfix to:
git checkout v6.30.0
- Create new branch from this tag. Name the branch with following pattern:
hotfix/<tag-name>
, otherwise release-please workflow won't see your branch
git checkout -b hotfix/v6.30.0
- Cherry pick needed commits from the main branch or create new commits. Name new commits according to conventional commits so they appear in the hotfix changelog
- Create commit with correct release tag in
release-please-config.json
. Name release tag with following pattern:<tag-name>-hotfix.<hotfix-number>
{
// Some general settings
"packages": {
".": {
"release-as": "6.30.0-hotfix.1" // The string you need to add
}
}
}
- Push branch to origin. Release PR will be created automatically
- Merge release PR, new tag and npm package version will be created