semver
semver copied to clipboard
Allow updating files other than package.json with version
Hi, Thanks for this plugin. I'm creating an executor to release a maven project based on semver. The postTargets is great for that but I found myself copying attribute from semver/version like tag, postTargets , push, skipCommit,... and what I want is just to modify one file (the pom.xml).
It is possible to add a feature to override updatePackageJson function from utils/project (an optional function like updateVersionFile)?
export default async function version(
options: VersionBuilderSchema,
context: ExecutorContext,
updateVersionFile? <-------- an optional function to be added by libs to use the plugin
): Promise<{ success: boolean }> {
) {