diff --git a/.github/workflows/update-formula.yml b/.github/workflows/update-formula.yml index 144d5de..cc8d5d6 100644 --- a/.github/workflows/update-formula.yml +++ b/.github/workflows/update-formula.yml @@ -17,13 +17,11 @@ jobs: steps: - uses: actions/checkout@v4 - - - name: Generate Acknowledgements + - name: Compute Formula shell: bash - run: ./update-version github.event.inputs.version + run: ./update-version ${{ github.event.inputs.version}} - name: Create PR - if: github.event_name == 'workflow_dispatch' run: | git config --global user.name 'Spice Bot' git config --global user.email 'spice-bot@spice.ai' @@ -31,11 +29,11 @@ jobs: if [[ $(git diff --exit-code Formula/**.rb) ]]; then git add Formula/**.rb - git commit -m "Update Formula for version ${github.event.inputs.version}" - git push origin acknowledgements/${GITHUB_RUN_ID} - gh pr create --title "Update Formula for version ${github.event.inputs.version}" --body "This PR updates the Formula for version ${github.event.inputs.version}" --base trunk --head update-formula/${GITHUB_RUN_ID} + git commit -m "Update Formula for version ${{ github.event.inputs.version}}" + git push origin update-formula/${GITHUB_RUN_ID} + gh pr create --title "Update Formula for version ${{ github.event.inputs.version}}" --body "This PR updates the Formula for version ${{ github.event.inputs.version}}" --base trunk --head update-formula/${GITHUB_RUN_ID} else echo "No changes detected" fi env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Formula/spice.rb b/Formula/spice.rb index 561c436..c0f77fa 100644 --- a/Formula/spice.rb +++ b/Formula/spice.rb @@ -1,14 +1,14 @@ $pkg = "github.com/spiceai/spiceai" $tags = %w() -$darwin_aarch64_sha256 = "f1a5104e9407bccd6023fabb8d38e32d0043cccab09c1e2b7a95336f8b3381a6" -$darwin_x86_64_sha256 = "f6a644959eaafab9a5348bfef9e687b670f23308fb7665c0de6f231cb9c327de" -$linux_x86_64_sha256 = "94165a222cc91c376566425814e83066f5c748a0c9300515f8c0ed0dc5d69dff" +$darwin_aarch64_sha256 = "4266773d8697a0a655ac5ad3e7ed05243cf09a7ad4d412ff56649cf3399ee700" +$darwin_x86_64_sha256 = "256f77610ef71f3895fa24ff689c285226d8f1a82f923c34502c7f5ece0f41f7" +$linux_x86_64_sha256 = "518aa944ae2349a18ec588a3098a524394eeeecb4420ad83fea4888a3ce84242" class Spice < Formula desc "Spice.ai CLI" homepage "https://#{$pkg}" url "https://#{$pkg}" - version "v0.18.1-beta" + version "v0.18.2-beta" revision 1 if OS.mac? diff --git a/Formula/spiced.rb b/Formula/spiced.rb index 5a53c4e..7ccfc48 100644 --- a/Formula/spiced.rb +++ b/Formula/spiced.rb @@ -1,14 +1,14 @@ $pkg = "github.com/spiceai/spiceai" $tags = %w() -$darwin_aarch64_sha256 = "efefd30b82399a3e496f38d48c39877e3403fc1b83adfce076e54f3ce52facef" -$darwin_x86_64_sha256 = "357e4b2c13a6da4d0850354f2d88f2945556648213c9c80dd49939e314946b88" -$linux_x86_64_sha256 = "7315539b9f755398f2c72c1dcc8d52632f850769dabe71bba9d04e1338437df1" +$darwin_aarch64_sha256 = "fa14cfe3e2b9a64124780218645cf3968ea1735f8d2d9184629675ea6622a627" +$darwin_x86_64_sha256 = "cbdb219d73b7bc1e14949aece512b224802d83c1fd39c3ab955cfccba816be38" +$linux_x86_64_sha256 = "7f5a2a459713d1a743d54bcbb614bd7938c2846b733963de6b2accec9c08466c" class Spiced < Formula desc "A unified SQL query interface and portable runtime to locally materialize, accelerate, and query data tables sourced from any database, data warehouse, or data lake." homepage "https://#{$pkg}" url "https://#{$pkg}" - version "v0.18.1-beta" + version "v0.18.2-beta" revision 1 if OS.mac?