A VS Code extension that uses the rpmdev-bumpspec command to bump the release number in RPM spec files.
- Bumps the release tag and adds a new changelog entry in the current spec file using a simple command.
- The
rpmdev-bumpspeccommand, which is usually provided by therpmdevtoolspackage.
- Open a
.specfile in VS Code. - Open the Command Palette (
Ctrl+Shift+P) and run theBumpspec: Increase release number and add changelogcommand. - Alternatively, use the
F10keyboard shortcut. - The release of the spec file will be automatically bumped, and the file will be reloaded with the cursor at the new changelog entry.
This extension contributes the following settings:
rpmdev.userstring: The user string to use for the new changelog entry (e.g., "John Doe john.doe@example.com"). If not provided,rpmdev-bumpspecwill use its default.
F10: Triggers theBumpspeccommand when a.specfile is open.
MIT