Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-27T23:29:11.256Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

bump-extension-cli

35 lines · 1.0 KB · text
1#!/usr/bin/env bash
2
3set -eu
4
5usage() {
6  echo "Usage: $0 <message>"
7  echo ""
8  echo "Triggers the publish_extension_cli workflow on main to build a new"
9  echo "extension CLI binary, bump the 'extension-cli' tag after a successful"
10  echo "build, and open PRs that update the SHA used by the zed and"
11  echo "zed-industries/extensions repositories."
12  echo ""
13  echo "Arguments:"
14  echo "  message    Describes why the extension CLI is being bumped /"
15  echo "             what the changes include. Included in the PR bodies."
16  exit 1
17}
18
19if [[ $# -lt 1 || -z "${1:-}" ]]; then
20  echo "error: a message describing the bump is required" >&2
21  echo "" >&2
22  usage >&2
23fi
24
25which gh > /dev/null 2>&1 || {
26  echo "error: GitHub CLI (gh) is required but not installed." >&2
27  echo "Install it with: brew install gh" >&2
28  exit 1
29}
30
31gh workflow run publish_extension_cli.yml --ref main -f message="$1"
32
33echo "Workflow triggered. Monitor progress at:"
34echo "  https://github.com/zed-industries/zed/actions/workflows/publish_extension_cli.yml"
35
Served at tenant.openagents/omega Member data and write actions are omitted.