📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Replace version placeholders with calculated version in any files before publishing

2.0.0
latest
Source
npm
Version published
Weekly downloads
15K
19.09%
Maintainers
0
Weekly downloads
 
Created
Source

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

Replace version placeholders with calculated version in any files before publishing

@latest Build Status

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

Keywords

semantic-release

FAQs

Package last updated on 21 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts