Skip to content

Releasing Backward Versions Below 0.24

jmarkowski edited this page Nov 30, 2020 · 1 revision

Steps to add some commits to backward version:

  • 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.15.2. So run git checkout v0.15.2

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

  • Cherry Pick all commits you want to add. cherry-pick {{commit ID}}

  • Run npm run std-version. It will add release commit and increment tag of packages If there are any issues, run rm -rf node_modules && rm package-lock.json && npm i

  • 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.

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

  • Install dependencies by npm i

  • When everything works fine, go to dist/libs/core, check package.json there, if it has same version

  • If you are completely sure that eveything works fine run npm publish --tag archive --access public in dist/libs/core. Be very careful, it can't be reverted. Version can't be removed from NPM

Clone this wiki locally