From 9728b5c248f29c1514a014854fef75e6e49b198b Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 26 Dec 2024 14:23:36 -0500 Subject: [PATCH] feat: Adds bump-version formula --- Formula/bump-version.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Formula/bump-version.rb b/Formula/bump-version.rb index 8049362..10a3df7 100644 --- a/Formula/bump-version.rb +++ b/Formula/bump-version.rb @@ -1,16 +1,20 @@ class BumpVersion < Formula desc "Command-line tool for managing versions of a swift command-line application." homepage "https://git.housh.dev/michael/bump-version.git" - url "https://git.housh.dev/michael/bump-version/archive/0.2.0.tar.gz" - sha256 "fixme" + url "https://git.housh.dev/michael/swift-bump-version/archive/0.2.0.tar.gz" + sha256 "e5cb3b113211ea117e959fcd01dcd9a758e3995d2e2550f9e410432e47c3ef90" license "MIT" version "0.2.0" + bottle do + sha256 cellar: :any_skip_relocation, arm64_sequoia: "ec3863e1febb1e446603a94f589888a6e6eefeb3202498071e565facb6e0f468" + end + depends_on xcode: ["16.0", :build] uses_from_macos "swift" => :build def install - system "swift", "build", "--disable-sandbox", "--configuration", "release", "--product" "bump-version" + 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") end