bumped-html
A bumped plugin. Adds version to html files in meta tags on each bump.
...
If version
meta tag exists in your html file bumped-html
will replace version with actual one. If not - version
meta tag will be added in html markup.
Install
npm install -g bumped-html
Configuration
Declare a plugin step in your .bumpedrc
like:
plugins: postrelease: 'Setting version to html files': plugin: bumped-html files: - src/index.html
Check out bumped repository for more detailed information how to setup/use bumped.
Note: This plugin should be called on postrelease
!
Backlog
Check if meta tag exist (if not - add one);Validate filepath;Error handling;- Add tests.