Compare commits

..

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

3 changed files with 19 additions and 20 deletions

View File

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

View File

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

View File

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