Compare commits

...

2 Commits

Author SHA1 Message Date
99593eb3af feat: Adds man pages to formula (#1)
Reviewed-on: #1
2024-12-26 21:58:46 +00:00
2ff0cb1e8b feat: Fixes root_url not included in bump-version bottle section. 2024-12-26 14:27:24 -05:00

View File

@@ -7,7 +7,8 @@ class BumpVersion < Formula
version "0.2.0"
bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "ec3863e1febb1e446603a94f589888a6e6eefeb3202498071e565facb6e0f468"
root_url "https://git.housh.dev/michael/swift-bump-version/releases/download/0.2.0"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "c27c1599e475be1f8c42d7cc066b0bd38276c638c1b2d7ec498ce450e536aac8"
end
depends_on xcode: ["16.0", :build]
@@ -17,6 +18,8 @@ class BumpVersion < Formula
system "swift", "build", "--disable-sandbox", "--configuration", "release", "--product", "bump-version"
bin.install ".build/release/bump-version"
generate_completions_from_executable(bin/"bump-version", "--generate-completion-script")
system "swift", "package", "--disable-sandbox", "--allow-writing-to-package-directory", "generate-manual"
man1.install Dir[".build/plugins/GenerateManual/outputs/bump-version/*"]
end
test do