Compare commits

..

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

5 changed files with 25 additions and 28 deletions

2
.github/CODEOWNERS vendored
View File

@ -1,2 +0,0 @@
# wasmCloud CI maintainers
* @wasmCloud/ci-maintainers

View File

@ -21,7 +21,7 @@ jobs:
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.actor }}
HOMEBREW_NO_INSTALL_FROM_API: 1
PULL_REQUEST: ${{ github.event.pull_request.number }}
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST
- name: Push commits
uses: Homebrew/actions/git-try-push@master
@ -33,4 +33,4 @@ jobs:
if: github.event.pull_request.head.repo.fork == false
env:
BRANCH: ${{ github.event.pull_request.head.ref }}
run: git push --delete origin "$BRANCH"
run: git push --delete origin $BRANCH

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,20 +23,20 @@ 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
- name: Set Variables
if: github.event_name == 'workflow_dispatch'
run: |
echo "input_tag=${{ github.event.inputs.tag_version }}" >> "$GITHUB_ENV"
echo "input_prefix=${{ github.event.inputs.tag_prefix }}" >> "$GITHUB_ENV"
echo "input_tag=${{ github.event.inputs.tag_version }}" >> $GITHUB_ENV
echo "input_prefix=${{ github.event.inputs.tag_prefix }}" >> $GITHUB_ENV
- name: Set Variables
if: github.event_name == 'repository_dispatch'
run: |
echo "input_tag=${{ github.event.client_payload.tag_version }}" >> "$GITHUB_ENV"
echo "input_prefix=${{ github.event.client_payload.tag_prefix }}" >> "$GITHUB_ENV"
echo "input_tag=${{ github.event.client_payload.tag_version }}" >> $GITHUB_ENV
echo "input_prefix=${{ github.event.client_payload.tag_prefix }}" >> $GITHUB_ENV
- name: Normalize inputs for pipeline use
uses: actions/github-script@v7

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.29.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.29.0"
sha256 cellar: :any_skip_relocation, monterey: "25a7869d7526c82aa005a36ca26d934b2565110db008580295924182bccc6238"
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.29.0/wash-x86_64-apple-darwin"
sha256 "90d26c7e3ddb9da9a36e4a46545ca749ea08d633d42e64681f95ad652f28701c"
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.29.0/wash-aarch64-apple-darwin"
sha256 "b0d52aa41788f3cdcc5cd6f21e5104fe103b52b57c8d5f7a7b505f4757399bb8"
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.29.0/wash-x86_64-unknown-linux-musl"
sha256 "ee4cd6b8866a2582e66eb17ad299f9fa91bcb094ff6125217695e87df767ef27"
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.29.0/wash-aarch64-unknown-linux-musl"
sha256 "0e2b96274875c13757f873394b9a1eeab09a7861ebd36a1930681b96004036e1"
def install
bin.install "wash-aarch64-unknown-linux-musl" => "wash"