git checkout -b rel-4.x.x
npm audit fix
- src/js/core/mejs.js:mejs.version = '4.x.x';
- package.js: version: '4.x.x',
- package-lock.json: "version": "4.x.x",
- package.json: "version": "4.x.x",
egrep "version:|mejs.version =" package.js src/js/core/mejs.js
head -4 package*.json | grep version
grunt
grep mejs.version build/* -r
git add --all
git commit -am "release 4.x.x
git rebase -i master
- prepare a new release using changelog.md
- publish a new version to
npmjs.com
by using:
npm login
npm publish
- Update the version on the website
https://cdn.jsdelivr.net/npm/mediaelement@x.x.x
and update mediaplayer configuration if necessary.