Merge branch 'main' of github.com:steveyegge/beads

This commit is contained in:
Steve Yegge
2025-11-05 21:04:28 -08:00

View File

@@ -3,6 +3,11 @@ name: Update Homebrew Formula
on: on:
release: release:
types: [published] types: [published]
workflow_dispatch:
inputs:
tag:
description: 'Release tag (e.g., v0.22.0)'
required: true
permissions: permissions:
contents: read contents: read
@@ -19,8 +24,13 @@ jobs:
- name: Get release info - name: Get release info
id: release id: release
run: | run: |
echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT TAG="${{ github.event.inputs.tag }}"
else
TAG="${GITHUB_REF#refs/tags/}"
fi
echo "tag=${TAG}" >> $GITHUB_OUTPUT
echo "version=${TAG#v}" >> $GITHUB_OUTPUT
- name: Download checksums - name: Download checksums
run: | run: |