Bump file version
Increments the version field on a file's frontmatter following SemVer.
Run it from the repo. Many scripts are paired with a schema that validates their inputs.
CategoryTools
Source pathscripts/bump-file-version.cjs
Bump file version
Increments the version field on a file's frontmatter following SemVer.
Metadata
- Type: script
- Category: Tools
- Tags: versioning
- File path: scripts/bump-file-version.cjs
- Run: node scripts/bump-file-version.cjs <file>
- Validates: version
# Bump file version
Increments the version field on a file's frontmatter following SemVer.
## Metadata
- Type: script
- Category: Tools
- Tags: versioning
- File path: scripts/bump-file-version.cjs
- Run: node scripts/bump-file-version.cjs <file>
- Validates: version