From d9395d385d4405efb04d73121208f8117900d66b Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 18 Jun 2026 22:18:46 +0200 Subject: [PATCH 1/8] Bump SolidInvoice version to 3.0.0 --- Formula/solidinvoice.rb | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/Formula/solidinvoice.rb b/Formula/solidinvoice.rb index 87910bc..ef2ff9b 100644 --- a/Formula/solidinvoice.rb +++ b/Formula/solidinvoice.rb @@ -1,28 +1,28 @@ class Solidinvoice < Formula desc "Simple and elegant invoicing solution" homepage "https://solidinvoice.co" - version "2.3.5" + version "3.0.0" license "MIT" on_macos do if Hardware::CPU.intel? - url "https://github.com/solidinvoice/solidinvoice/releases/download/#{version}/solidinvoice-mac-x86_64" - sha256 "0ad69bc4ec992e8ddeebc9d77c7e20ccf9d8493e571a6fc440fc29a17c336a91" + url "https://github.com/solidinvoice/solidinvoice/releases/download/#{version}/solidinvoice-mac-amd64" + sha256 "7b1cc8b1c49d65074a69ba09ce3ec426ae451148f987b372ae988fee912ec0c8" end if Hardware::CPU.arm? url "https://github.com/solidinvoice/solidinvoice/releases/download/#{version}/solidinvoice-mac-arm64" - sha256 "fac7b0b89dcdb269aeceee08bd42ca8613ef6d93ef9bc519a2836896246b0b52" + sha256 "ab093d0530549c6b1adfd685231534158853bd7aa9d50aaf69267e621cdc1b68" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/solidinvoice/solidinvoice/releases/download/#{version}/solidinvoice-linux-aarch64" - sha256 "6f6633251ecdd43470ea385cd264b3f1516ef55fc57273af4615300184273912" + url "https://github.com/solidinvoice/solidinvoice/releases/download/#{version}/solidinvoice-linux-amd64" + sha256 "c6d5d195e54d3dc2208ff439ed728e97cc21912cda9f94cacf3f3ad465a7ceff" end if Hardware::CPU.arm? url "https://github.com/solidinvoice/solidinvoice/releases/download/#{version}/solidinvoice-linux-arm64" - sha256 "2c4d31de3b51d4439828f894401dc7c044be301a457229c59f98718e4a3b0a26" + sha256 "944635f03de5b38592c157e6dd1b07f1109d8899ea9f2d758c834a898250c57a" end end @@ -33,8 +33,15 @@ def install bin.install bin_file => "solidinvoice" end + service do + run [opt_bin/"solidinvoice", "run"] + keep_alive true + log_path var/"log/solidinvoice.log" + error_log_path var/"log/solidinvoice.log" + end + test do - assert_match version.to_s, shell_output("#{bin}/solidinvoice --version") + assert_match version.to_s, shell_output("#{bin}/solidinvoice version") # `test do` will create, run in and delete a temporary directory. # # This test will fail and we won't accept that! For Homebrew/homebrew-core From ccb085d793bf6eb8bbabecd6f0fba72de79a6749 Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 18 Jun 2026 22:21:15 +0200 Subject: [PATCH 2/8] Update workflow --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 485254b..d0302e2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,12 +17,12 @@ jobs: pull-requests: write steps: - name: Set up Homebrew - uses: Homebrew/actions/setup-homebrew@master + uses: Homebrew/actions/setup-homebrew@main with: token: ${{ github.token }} - name: Set up git - uses: Homebrew/actions/git-user-config@master + uses: Homebrew/actions/git-user-config@main - name: Pull bottles env: @@ -31,7 +31,7 @@ jobs: run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST" - name: Push commits - uses: Homebrew/actions/git-try-push@master + uses: Homebrew/actions/git-try-push@main with: branch: main From 5de72e70f87ae48afa7d55abfed29c29218c1796 Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 18 Jun 2026 22:23:05 +0200 Subject: [PATCH 3/8] Update test bot --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5441429..94da2b6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: test-bot: strategy: matrix: - os: [ ubuntu-22.04, macos-13, macos-15 ] + os: [ ubuntu-latest, ubuntu-latest-arm, macos-15-intel, macos-latest ] runs-on: ${{ matrix.os }} permissions: actions: read @@ -20,7 +20,7 @@ jobs: steps: - name: Set up Homebrew id: set-up-homebrew - uses: Homebrew/actions/setup-homebrew@master + uses: Homebrew/actions/setup-homebrew@main with: token: ${{ github.token }} From 911338e2335baad3cc751e337da70f8ff71904d8 Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 18 Jun 2026 22:37:16 +0200 Subject: [PATCH 4/8] Update workflows --- .github/workflows/publish.yml | 2 +- .github/workflows/tests.yml | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d0302e2..05d0f4f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ on: jobs: pr-pull: if: contains(github.event.pull_request.labels.*.name, 'pr-pull') - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: actions: read checks: read diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 94da2b6..6fea36f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,20 @@ jobs: test-bot: strategy: matrix: - os: [ ubuntu-latest, ubuntu-latest-arm, macos-15-intel, macos-latest ] + os: + - ubuntu-latest + - ubuntu-22.04 + - ubuntu-24.04 + - ubuntu-26.04 + - ubuntu-22.04-arm + - ubuntu-24.04-arm + - ubuntu-26.04-arm + - macos-15-intel + - macos-16-intel + - macos-latest + - macos-14 + - macos-15 + - macos-26 runs-on: ${{ matrix.os }} permissions: actions: read @@ -25,7 +38,7 @@ jobs: token: ${{ github.token }} - name: Cache Homebrew Bundler RubyGems - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} @@ -41,7 +54,7 @@ jobs: - name: Upload bottles as artifact if: always() && github.event_name == 'pull_request' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: bottles_${{ matrix.os }} path: '*.bottle.*' From df4fb7f7cdd8e44eb2e96dcf6dade42b9958039a Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 18 Jun 2026 22:38:23 +0200 Subject: [PATCH 5/8] Fix os --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6fea36f..e5a0443 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,7 +19,7 @@ jobs: - ubuntu-24.04-arm - ubuntu-26.04-arm - macos-15-intel - - macos-16-intel + - macos-26-intel - macos-latest - macos-14 - macos-15 From d70753486e6c81fc035d8a1c346fc796cf56bba3 Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 18 Jun 2026 22:42:20 +0200 Subject: [PATCH 6/8] Set fail-fast: false --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e5a0443..ed07bf8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,6 +24,7 @@ jobs: - macos-14 - macos-15 - macos-26 + fail-fast: false runs-on: ${{ matrix.os }} permissions: actions: read From fa6590b31f56fa9419e26346a8392c6a7a71101b Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 18 Jun 2026 22:43:47 +0200 Subject: [PATCH 7/8] Remove ubuntu-22.04-arm from test --- .github/workflows/tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ed07bf8..900b1b0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,6 @@ jobs: - ubuntu-22.04 - ubuntu-24.04 - ubuntu-26.04 - - ubuntu-22.04-arm - ubuntu-24.04-arm - ubuntu-26.04-arm - macos-15-intel From 45e68d833ff65f0c5f4f8740b664e8b2742f022a Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 18 Jun 2026 22:44:50 +0200 Subject: [PATCH 8/8] Remove ubuntu-22.04 from test --- .github/workflows/tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 900b1b0..8c6ba6b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,6 @@ jobs: matrix: os: - ubuntu-latest - - ubuntu-22.04 - ubuntu-24.04 - ubuntu-26.04 - ubuntu-24.04-arm