1.4.1 • Published 4 years ago

semantic-release-version-bump v1.4.1

Weekly downloads
246
License
GPL-2.0-or-later
Repository
-
Last release
4 years ago

semantic-release-version-bump

A semantic-release plugin to bump a version number in files where version is stored as a comment, e.g. in a WordPress PHP plugin file:

<?php
/**
 * Name:      A plugin
 * Version:   1.2.0
 */

Configuration

optionrequiredtypefunction
filesstring \| [string]glob (or array of globs) to match the files in which version should be bumped
callback𐄂stringcommand to be called after the version is bumped in file/s

Example

"release": {
  "prepare": [
    [
      "semantic-release-version-bump",
      {
        "files": "my-plugin.php",
        "callback": "zip -r my-plugin.zip ."
      }
    ]
  ]
}

Limitations

It currently handles only a Version: string, used in WordPress plugin and theme files.

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago