Releasing Backward Versions Above 0.24 - SAP/fundamental-ngx GitHub Wiki

Steps to add some commits to backward version above 0.24.0:

Getting code from master

  • Find commit IDs you would like to add, it usually can be found in master branch, after running git log command. Save them somewhere.

image

  • Go to latest patch version of tag without RC.

image

For example from list of these tags, newest one is v0.24.2. So run git checkout v0.24.2

  • From this tag create new branch git checkout -b release/0.24.3

  • Cherry Pick all commits you want to add. cherry-pick {{commit ID}}. Alternatively, if the code is not in master you can commit by yourself

Testing:

  • Run npm run build-pack-library - It will create .tgz file, which can be tested in external application

  • Copy dist/libs/core/fundamental-ngx-core-{{version}}.tgz file to test application.

  • Bring this version by adding it to package.json "@fundamental-ngx/core": "file:fundamental-ngx-core-{{version}}.tgz",

Releasing:

  • If everything works fine - run npm run hotfix-release.

If minor version of hotfix is the same as on master, you should use npm run hotfix-release-latest instead. New tag will become latest (default on npm) and master's version will be incremented