Skip to content

Commit ebcd938

Browse files
committed
fix: add readme about fixes major 1.x.x
1 parent 095fa6c commit ebcd938

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/release-1.x.x-fix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"perf","section":"Performance Improvements","hidden":false}]'
2929
bump-minor-pre-major: true
3030
default-branch: version-1.x.x/fixes
31-
- run: npm publish --tag stable --access public
31+
- run: npm publish --tag untagged --access public
3232
env:
3333
NODE_AUTH_TOKEN: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
3434
if: ${{ steps.release.outputs.release_created }}

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,3 +316,11 @@ When you receive the approval of your pull-request from the code owners and pass
316316
3. Wait until robot creates a PR with a new version of the package and information about your changes in CHANGELOG.md. You can see the process on [the Actions tab](https://github.com/gravity-ui/page-constructor/actions).
317317
4. Check your changes in CHANGELOG.md and approve robot's PR.
318318
5. Squash and merge PR. You can see release process on [the Actions tab](https://github.com/gravity-ui/page-constructor/actions).
319+
320+
For now, we have two major version of package. If you want to have your changes in major one (1.x.x) for some reasons, e.g. you aren't ready for major 2.x.x. update, please do the following:
321+
322+
1. Create PR wit your changes as you usually do to the branch main.
323+
2. Release package version in major 2.x.x.
324+
3. Then you have to fetch a branch `version-1.x.x/fixes` - it is a branch with major 1.x.x and changes which were created after the release version 2.x.x.
325+
4. Cherry-pick your commit from major 2.x.x to a branch which was released from the branch `version-1.x.x/fixes` and create a PR.
326+
5. After that you have to follow regular flow above.

0 commit comments

Comments
 (0)