Skip to content

Fix session visibility and column alignment #17

Fix session visibility and column alignment

Fix session visibility and column alignment #17

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false # No external dependencies
- name: Build binaries
run: make build-all
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
dist/csm-darwin-amd64
dist/csm-darwin-arm64
dist/csm-linux-amd64
dist/csm-linux-arm64
generate_release_notes: true
- name: Update Homebrew formula
env:
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
TAG_NAME: ${{ github.ref_name }}
run: |
VERSION="${TAG_NAME#v}"
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token $HOMEBREW_TAP_TOKEN" \
https://api.github.com/repos/yepzdk/homebrew-tools/dispatches \
-d "{\"event_type\":\"update-csm\",\"client_payload\":{\"version\":\"$VERSION\"}}"