1.0.4 • Published 4 years ago

bumped-html v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

bumped-html

A bumped plugin. Adds version to html files in meta tags on each bump.

<!doctype html>
<html lang="en">
  <head>
    <meta name="version" content="3.2.0" />
  </head>
  <body>...</body>
</html>

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

  1. Check if meta tag exist (if not - add one);
  2. Validate filepath;
  3. Error handling;
  4. Add tests.
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago