1.0.2 • Published 2 years ago

@alertor/standard-version-updater-deb-control v1.0.2

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
2 years ago

standard-version-updater-deb-control

Forked from @damlys/standard-version-updater-docker

The conventional-changelog/standard-version updater for DEBIAN/control files.

Installation

$ npm install --save-dev @alertor/standard-version-updater-deb-control

Configuration

Just use following updaters within .versionrc.json config file.

{
  "bumpFiles": [
    {
      "filename": "DEBIAN/control",
      "updater": "node_modules/@alertor/standard-version-updater-deb-control/dist/control.js"
    }
  ]
}

Examples

control file might look like that:

Package: mypkg
Version: 1.0.0
Maintainer: Your Name <you@example.com>
Description: My test package, please ignore
Homepage: https://github.com/username/projectname
Architecture: all
Depends: git, python3 (>=3.5), openjdk-8-jre-headless|openjdk-8-jre|openjdk-8-jdk-headless|openjdk-8-jdk

The control.js updater looks for a Version: <semver> pattern and updates it.

~