Compare commits

...

52 Commits

Author SHA1 Message Date
Brooks Townsend 3fc2b9e2e4 wash: add 0.42.0 bottle. 2025-05-31 14:43:20 +00:00
brooksmtownsend e67ffba0ed bump wash to v0.42.0
Closes #94.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2025-05-31 14:39:35 +00:00
Taylor Thomas 9789f361eb wash: add 0.41.0 bottle. 2025-03-24 18:06:06 +00:00
Taylor Thomas a3180b22f3 bump wash to v0.41.0
Closes #93.

Signed-off-by: Taylor Thomas <taylor@cosmonic.com>
Signed-off-by: Taylor Thomas <taylor@oftaylor.com>
2025-03-24 18:02:35 +00:00
Brooks Townsend e2ce4ec738 wash: add 0.40.0 bottle. 2025-03-10 18:03:31 +00:00
brooksmtownsend c7690fb061 bump wash to v0.40.0
Closes #92.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2025-03-10 18:00:01 +00:00
Brooks Townsend 4890512667 feat: remove -cli suffix w/ new package
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
2025-03-10 13:30:59 -04:00
Brooks Townsend 43e4fd6218 wash: add 0.39.0 bottle. 2025-02-25 16:20:34 +00:00
brooksmtownsend 8c5b27bb44 bump wash to v0.39.0
Closes #90.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2025-02-25 16:17:08 +00:00
Taylor Thomas a7253f23ec wash: add 0.38.0 bottle. 2025-01-29 19:56:01 +00:00
thomastaylor312 1008f3785d bump wash to v0.38.0
Closes #89.

Signed-off-by: thomastaylor312 <thomastaylor312@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
Signed-off-by: Taylor Thomas <taylor@oftaylor.com>
2025-01-29 19:52:40 +00:00
Brooks Townsend eb372abfdf wash: add 0.38.0 bottle. 2025-01-27 18:01:00 +00:00
brooksmtownsend 86db35415d bump wash to v0.38.0
Closes #86.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2025-01-27 17:57:33 +00:00
Brooks Townsend 5a664ba164 ci(tests): update runner to macos-13
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
2025-01-27 12:48:09 -05:00
Joonas Bergius bd5efb2990 wash: add 0.37.0 bottle. 2024-11-12 21:58:19 +00:00
brooksmtownsend 1a78429c5a bump wash to v0.37.0
Closes #84.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
Signed-off-by: Joonas Bergius <19793+joonas@users.noreply.github.com>
2024-11-12 21:55:05 +00:00
Joonas Bergius 83e89da1b4
Merge pull request #85 from wasmCloud/chore/bump-actions/cache
chore(ci): bump actions/cache to v4
2024-11-12 14:42:05 -07:00
Joonas Bergius c15596981c
chore(ci): bump actions/setup-go to v5
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
2024-11-12 14:13:38 -07:00
Joonas Bergius aad13c548e
chore(ci): bump actions/cache to v4
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
2024-11-12 14:08:13 -07:00
Joonas Bergius 0df9b0e0b8 chore: Name uploaded bottles artifacts according to matrix.os
Fixes #64

Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
2024-10-24 11:29:45 -04:00
Joonas Bergius e46e2659d4 wash: add 0.36.1 bottle. 2024-10-23 23:41:12 +00:00
brooksmtownsend 68b529d364 bump wash to v0.36.1
Closes #82.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
Signed-off-by: Joonas Bergius <19793+joonas@users.noreply.github.com>
2024-10-23 23:37:58 +00:00
Brooks Townsend f3e45b3eed wash: add 0.36.0 bottle. 2024-10-23 11:41:47 +00:00
brooksmtownsend 473b2f370e bump wash to v0.36.0
Closes #81.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-10-23 11:38:30 +00:00
Brooks Townsend 1bdb5c1bf0 wash: add 0.35.0 bottle. 2024-10-10 14:26:00 +00:00
brooksmtownsend 4a2f77bee4 bump wash to v0.35.0
Closes #79.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-10-10 14:22:48 +00:00
Brooks Townsend f279121d86 wash: add 0.34.1 bottle. 2024-10-01 21:12:07 +00:00
brooksmtownsend 389a907af8 bump wash to v0.34.1
Closes #78.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-10-01 21:08:52 +00:00
Brooks Townsend 85feca557a wash: add 0.32.1 bottle. 2024-09-11 20:57:41 +00:00
brooksmtownsend 8b7f6bcdeb bump wash to v0.32.1
Closes #75.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-09-11 20:54:18 +00:00
Brooks Townsend f0b6d59cb1 wash: add 0.32.0 bottle. 2024-09-05 16:35:55 +00:00
brooksmtownsend 050facd028 bump wash to v0.32.0
Closes #73.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-09-05 16:28:37 +00:00
Brooks Townsend 4218d30809 wash: add 0.31.0 bottle. 2024-08-23 18:13:38 +00:00
brooksmtownsend 8d4ab709f2 bump wash to v0.31.0
Closes #72.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-08-23 18:10:24 +00:00
Brooks Townsend bed723bca9 wash: add 0.30.0 bottle. 2024-08-02 15:36:30 +00:00
brooksmtownsend 0b6836a1c1 bump wash to v0.30.0
Closes #71.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-08-02 15:32:51 +00:00
Brooks Townsend 270c695b04 chore: update CODEOWNERS with team
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
2024-07-24 16:58:18 -04:00
Brooks Townsend a13f019112 wash: add 0.29.2 bottle. 2024-06-18 14:05:06 +00:00
brooksmtownsend c964d7afc2 bump wash to v0.29.2
Closes #69.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-06-18 14:01:59 +00:00
Brooks Townsend 64f1d33f7f wash: add 0.29.1 bottle. 2024-06-13 19:25:02 +00:00
Brooks Townsend 3aff1b2068 ci(*): double quote bash vars for shellcheck
Closes #68.

Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-06-13 19:21:50 +00:00
brooksmtownsend 5b157790b7
bump wash to v0.29.1
Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
2024-06-13 14:46:07 -04:00
Brooks Townsend 74b501632b wash: add 0.29.0 bottle. 2024-06-12 19:32:25 +00:00
brooksmtownsend fcf9046e3f bump wash to v0.29.0
Closes #67.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-06-12 19:29:13 +00:00
Brooks Townsend 51343cb9e8 wash: add 0.28.1 bottle. 2024-05-10 15:11:45 +00:00
brooksmtownsend e9afb05ac0 bump wash to v0.28.1
Closes #63.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-05-10 15:08:48 +00:00
Brooks Townsend f6a92c0297 ci: bump create-pr version
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
2024-05-10 11:08:09 -04:00
Brooks Townsend 5684b65562 wash: add 0.28.0 bottle. 2024-05-08 19:36:25 +00:00
brooksmtownsend d9cd7f8d71 bump wash to v0.28.0
Closes #62.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-05-08 19:33:23 +00:00
Brooks Townsend a7d784e8b6 ci: allow invoking via repository_dispatch
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>

javascript

Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
2024-05-07 10:50:36 -04:00
Brooks Townsend 601e4fd790 wash: add 0.27.0 bottle. 2024-04-17 22:28:09 +00:00
brooksmtownsend 9a21398d13 bump wash to v0.27.0
Closes #60.

Signed-off-by: brooksmtownsend <brooksmtownsend@users.noreply.github.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
2024-04-17 22:24:59 +00:00
5 changed files with 59 additions and 37 deletions

2
.github/CODEOWNERS vendored Normal file
View File

@ -0,0 +1,2 @@
# 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-12]
os: [ubuntu-22.04, macos-13]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Homebrew
@ -20,7 +20,7 @@ jobs:
- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
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
- run: brew test-bot --only-formulae --skip-checksum-only-audit
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
name: "bottles_${{ matrix.os }}"
path: "*.bottle.*"

View File

@ -1,15 +1,17 @@
name: brew formula update
on:
repository_dispatch:
types: [brew-formula-update]
workflow_dispatch:
inputs:
tag_prefix:
description: "Prefix for the release tag to pull from (i.e. wash-cli)"
default: "wash-cli"
description: 'Prefix for the release tag to pull from (i.e. wash)'
default: 'wash'
required: false
type: string
tag_version:
description: "Tag to pull"
description: 'Tag to pull'
required: true
type: string
@ -21,17 +23,30 @@ jobs:
# This is needed by Goreleaser to build the placeholder Go binary.
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
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"
- 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"
- name: Normalize inputs for pipeline use
uses: actions/github-script@v7
id: normalize_inputs
env:
input_tag: ${{ env.input_tag }}
input_prefix: ${{ env.input_prefix }}
with:
script: |
const input_tag = context.payload.inputs.tag_version
const input_prefix = context.payload.inputs.tag_prefix
const { input_tag, input_prefix } = process.env
const tag_no_v = input_tag.replaceAll('v', '')
const tag_with_v = 'v' + tag_no_v
const prefix = input_prefix.replace(/^-+/g, '').replace(/-+$/g, '')
@ -70,7 +85,7 @@ jobs:
cp dist/homebrew/Formula/wash.rb Formula/wash.rb
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
commit-message: bump wash to ${{ steps.normalize_inputs.outputs.tag_with_v }}
title: wash ${{ steps.normalize_inputs.outputs.tag_with_v }}

View File

@ -5,48 +5,53 @@
class Wash < Formula
desc "WAsmcloud SHell - a comprehensive command-line tool for wasmCloud development"
homepage "https://wasmcloud.com/"
version "0.26.0"
version "0.42.0"
license "Apache-2.0"
bottle do
root_url "https://github.com/wasmCloud/homebrew-wasmcloud/releases/download/wash-0.26.0"
sha256 cellar: :any_skip_relocation, monterey: "e76700edeb97de73942b19bac955289f43f83d1c93591a471968bd7162721ea3"
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"
end
on_macos do
if Hardware::CPU.arm?
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-cli-v0.26.0/wash-aarch64-apple-darwin"
sha256 "b4de83ed096ec76c7abc5c00f6b4c3bd1faa6b962d2a2233ec00bb4ebaa40673"
def install
bin.install "wash-aarch64-apple-darwin" => "wash"
end
end
if Hardware::CPU.intel?
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-cli-v0.26.0/wash-x86_64-apple-darwin"
sha256 "597551f95e96cf19857385f9577dc3f70d52d2a5b75a3877aebdde190ceab597"
on_intel do
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-v0.42.0/wash-x86_64-apple-darwin"
sha256 "7fdb4f898035e91940ab442cce9f6bc2380d8aecee6e75c0e988e095c3f51c9f"
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"
def install
bin.install "wash-aarch64-apple-darwin" => "wash"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-cli-v0.26.0/wash-aarch64-unknown-linux-musl"
sha256 "3695625a2b40d4fd1e43774eb360b00abddaedc269582ff86d6341a86acb3d85"
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"
def install
bin.install "wash-aarch64-unknown-linux-musl" => "wash"
def install
bin.install "wash-x86_64-unknown-linux-musl" => "wash"
end
end
end
if Hardware::CPU.intel?
url "https://github.com/wasmCloud/wasmCloud/releases/download/wash-cli-v0.26.0/wash-x86_64-unknown-linux-musl"
sha256 "837139744d5a90d673ed9bae6dffce39b9d4488641f9e917eec60fa8de1b0934"
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"
def install
bin.install "wash-x86_64-unknown-linux-musl" => "wash"
def install
bin.install "wash-aarch64-unknown-linux-musl" => "wash"
end
end
end
end