semantic-release-plugin-update-version-in-files

1.1.0 • Public • Published

semantic-release-plugin-update-version-in-files

Replace version placeholders with calculated version in any files before publishing

@latest Build Status Greenkeeper

Example

"plugins"[
  "@semantic-release/commit-analyzer",
  "@semantic-release/release-notes-generator",
  "@semantic-release/github",
  "@semantic-release/npm",
  ["semantic-release-plugin-update-version-in-files", {
    "files": [
      "version.js"
    ],
    "placeholder": "0.0.0-development"
  }]
]

If "files" is not set, it defaults to [ "version.js" ]. Glob patterns are supported via glob. If placeholder is not set, it defaults to "0.0.0-development".

See also: semantic-release plugins configuration.

License

ISC

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    2,323
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    2,323
  • 1.0.0
    1

Package Sidebar

Install

npm i semantic-release-plugin-update-version-in-files

Weekly Downloads

2,324

Version

1.1.0

License

ISC

Unpacked Size

10.7 kB

Total Files

7

Last publish

Collaborators

  • gr2m