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

> Replace version placeholders with calculated version in any files before publishing

Latest version **2.1.0** (published 2026-03-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install semantic-release-plugin-update-version-in-files
pnpm add semantic-release-plugin-update-version-in-files
yarn add semantic-release-plugin-update-version-in-files
bun add semantic-release-plugin-update-version-in-files
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2026-03-20 |
| First published | 2019-05-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=18 |
| Dependencies | 2 |
| Unpacked size | 15.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 15 |
| Author | Gregor Martynus |
| Maintainers | gr2m |
| Keywords | semantic-release, plugin |

## Links

- npm: https://www.npmjs.com/package/semantic-release-plugin-update-version-in-files
- Repository: https://github.com/gr2m/semantic-release-plugin-update-version-in-files
- Homepage: https://github.com/gr2m/semantic-release-plugin-update-version-in-files#readme
- Issues: https://github.com/gr2m/semantic-release-plugin-update-version-in-files/issues
- npm.io page: https://npm.io/package/semantic-release-plugin-update-version-in-files

## Dependencies (2)

- [glob](https://npm.io/package/glob.md) ^13.0.6
- [debug](https://npm.io/package/debug.md) ^4.1.1

## Recent versions

- 2.1.0 (latest) — 2026-03-20
- 2.0.1 — 2025-11-19
- 2.0.0 — 2025-02-21
- 1.1.0 — 2020-08-18
- 1.0.0 — 2019-05-03

## README

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

> Replace version placeholders with calculated version in any files before publishing

[![@latest](https://img.shields.io/npm/v/semantic-release-plugin-update-version-in-files.svg)](https://www.npmjs.com/package/semantic-release-plugin-update-version-in-files)
[![Build Status](https://travis-ci.com/gr2m/semantic-release-plugin-update-version-in-files.svg?branch=master)](https://travis-ci.com/gr2m/semantic-release-plugin-update-version-in-files)

Example

```json
"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](https://www.npmjs.com/package/glob). If `placeholder` is not set, it defaults to `"0.0.0-development"`.

See also: [semantic-release plugins configuration](https://semantic-release.gitbook.io/semantic-release/usage/plugins#plugins-configuration).

## License

[ISC](LICENSE)

---
_Source: https://npm.io/package/semantic-release-plugin-update-version-in-files · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
