-
Notifications
You must be signed in to change notification settings - Fork 133
Releasing Backward Versions Below 0.24
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. -
Go to latest patch version of tag without RC. For example from list of these tags, newest one is
v0.15.2
. So rungit 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, runrm -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
, checkpackage.json
there, if it has same version -
If you are completely sure that eveything works fine run
npm publish --tag archive --access public
indist/libs/core
. Be very careful, it can't be reverted. Version can't be removed from NPM