Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Formula for version v0.18.2-beta #33

Merged
merged 6 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/update-formula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,23 @@ 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'
git checkout -b update-formula/${GITHUB_RUN_ID}

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 }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions Formula/spice.rb
Original file line number Diff line number Diff line change
@@ -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?
Expand Down
8 changes: 4 additions & 4 deletions Formula/spiced.rb
Original file line number Diff line number Diff line change
@@ -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?
Expand Down