feat: Renames update-version plugin to bump-version, removes generate plugin as the bump-version can be called with the generate arguments.
All checks were successful
CI / Ubuntu (push) Successful in 2m42s

This commit is contained in:
2024-12-26 16:07:57 -05:00
parent 5bac7aa577
commit 8d73287a60
8 changed files with 36 additions and 86 deletions

View File

@@ -13,7 +13,7 @@ struct GenerateVersionBuildPlugin: BuildToolPlugin {
.deletingLastPathComponent()
.deletingLastPathComponent()
let tool = try context.tool(named: "cli-version")
let tool = try context.tool(named: "bump-version")
let outputPath = context.pluginWorkDirectoryURL
let outputFile = outputPath.appending(path: "Version.swift")
@@ -25,7 +25,7 @@ struct GenerateVersionBuildPlugin: BuildToolPlugin {
arguments: [
"build", "--verbose",
"--git-directory", gitDirectoryPath.absoluteString,
"--target", outputPath.absoluteString
"--target-file-path", outputPath.absoluteString
],
environment: [:],
inputFiles: target.sourceFiles.map(\.url),