Compare commits

..

No commits in common. "main" and "wash-0.36.0" have entirely different histories.

3 changed files with 19 additions and 20 deletions

View File

@ -11,7 +11,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-22.04, macos-13] os: [ubuntu-22.04, macos-12]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew
@ -20,7 +20,7 @@ jobs:
- name: Cache Homebrew Bundler RubyGems - name: Cache Homebrew Bundler RubyGems
id: cache id: cache
uses: actions/cache@v4 uses: actions/cache@v3
with: with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }} path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
@ -36,12 +36,12 @@ jobs:
- run: brew test-bot --only-tap-syntax - run: brew test-bot --only-tap-syntax
- run: brew test-bot --only-formulae --skip-checksum-only-audit - run: brew test-bot --only-formulae
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
- name: Upload bottles as artifact - name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request' if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@main uses: actions/upload-artifact@main
with: with:
name: "bottles_${{ matrix.os }}" name: bottles
path: "*.bottle.*" path: "*.bottle.*"

View File

@ -6,12 +6,12 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
tag_prefix: tag_prefix:
description: 'Prefix for the release tag to pull from (i.e. wash)' description: "Prefix for the release tag to pull from (i.e. wash-cli)"
default: 'wash' default: "wash-cli"
required: false required: false
type: string type: string
tag_version: tag_version:
description: 'Tag to pull' description: "Tag to pull"
required: true required: true
type: string type: string
@ -23,7 +23,7 @@ jobs:
# This is needed by Goreleaser to build the placeholder Go binary. # This is needed by Goreleaser to build the placeholder Go binary.
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v4
with: with:
go-version: 1.21 go-version: 1.21

View File

@ -5,27 +5,26 @@
class Wash < Formula class Wash < Formula
desc "WAsmcloud SHell - a comprehensive command-line tool for wasmCloud development" desc "WAsmcloud SHell - a comprehensive command-line tool for wasmCloud development"
homepage "https://wasmcloud.com/" homepage "https://wasmcloud.com/"
version "0.42.0" version "0.35.0"
license "Apache-2.0" license "Apache-2.0"
bottle do bottle do
root_url "https://github.com/wasmCloud/homebrew-wasmcloud/releases/download/wash-0.42.0" root_url "https://github.com/wasmCloud/homebrew-wasmcloud/releases/download/wash-0.35.0"
sha256 cellar: :any_skip_relocation, ventura: "d8287b7fc6d37c2b51d09d7b4ed8378453cb3ac8e4664ed4fc425f3d6c66e9e1" sha256 cellar: :any_skip_relocation, monterey: "e6bc8024c52f59b093d9511241a0bcdeee929d92121d541f674c5a5398b6b440"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4618a6f060b64c3c8b284ff5c05f1dc7a363f32c23ab6f2d84f0702ee63b7ddb"
end end
on_macos do on_macos do
on_intel do on_intel do
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-v0.42.0/wash-x86_64-apple-darwin" url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-cli-v0.35.0/wash-x86_64-apple-darwin"
sha256 "7fdb4f898035e91940ab442cce9f6bc2380d8aecee6e75c0e988e095c3f51c9f" sha256 "0590f5ff928aa7cd68b6b15716644aae28eab35f6904bc00915cdaa03a2b3126"
def install def install
bin.install "wash-x86_64-apple-darwin" => "wash" bin.install "wash-x86_64-apple-darwin" => "wash"
end end
end end
on_arm do on_arm do
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-v0.42.0/wash-aarch64-apple-darwin" url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-cli-v0.35.0/wash-aarch64-apple-darwin"
sha256 "ab9183194dd29d6eba77692bc017cbc2ea9108b734ddc19d51e74d8bf556aeec" sha256 "b2422cbd379b5b5d135c3be49f4879afb810d0871575bb2475ed242a72cc4179"
def install def install
bin.install "wash-aarch64-apple-darwin" => "wash" bin.install "wash-aarch64-apple-darwin" => "wash"
@ -36,8 +35,8 @@ class Wash < Formula
on_linux do on_linux do
on_intel do on_intel do
if Hardware::CPU.is_64_bit? if Hardware::CPU.is_64_bit?
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-v0.42.0/wash-x86_64-unknown-linux-musl" url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-cli-v0.35.0/wash-x86_64-unknown-linux-musl"
sha256 "23e44f345ae314549ba04123b86eb63fc37c1026f43b8c08a7c9b618a80cba5c" sha256 "0a32b25d8aaa96d5a79b8a2073c88471359b07c10b80ea95946e8f12bceb7e44"
def install def install
bin.install "wash-x86_64-unknown-linux-musl" => "wash" bin.install "wash-x86_64-unknown-linux-musl" => "wash"
@ -46,8 +45,8 @@ class Wash < Formula
end end
on_arm do on_arm do
if Hardware::CPU.is_64_bit? if Hardware::CPU.is_64_bit?
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-v0.42.0/wash-aarch64-unknown-linux-musl" url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-cli-v0.35.0/wash-aarch64-unknown-linux-musl"
sha256 "058d59cd5f181ada6de763e82ab935e1ae0db943b6df607cef3cdb647d175029" sha256 "6efc7675d9d10fac026cb4e2b06508f6f5118d5b53b241bdfd29f3e691934d97"
def install def install
bin.install "wash-aarch64-unknown-linux-musl" => "wash" bin.install "wash-aarch64-unknown-linux-musl" => "wash"