Skip to content

Commit fd377c0

Browse files
yepzdkclaude
andcommitted
Add GitHub Actions release workflow
Builds binaries for darwin/linux on amd64/arm64 and creates a GitHub release when a version tag is pushed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ae9da12 commit fd377c0

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/release.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Go
19+
uses: actions/setup-go@v5
20+
with:
21+
go-version: '1.21'
22+
23+
- name: Build binaries
24+
run: make build-all
25+
26+
- name: Create Release
27+
uses: softprops/action-gh-release@v1
28+
with:
29+
files: |
30+
dist/csm-darwin-amd64
31+
dist/csm-darwin-arm64
32+
dist/csm-linux-amd64
33+
dist/csm-linux-arm64
34+
generate_release_notes: true

0 commit comments

Comments
 (0)