Skip to content

docs: add CHANGELOG.md covering v0.1.0 through v0.3.0 #1

docs: add CHANGELOG.md covering v0.1.0 through v0.3.0

docs: add CHANGELOG.md covering v0.1.0 through v0.3.0 #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
name: Build & Release
runs-on: ubuntu-latest
strategy:
matrix:
include:
- goos: linux
goarch: amd64
- goos: linux
goarch: arm64
- goos: darwin
goarch: amd64
- goos: darwin
goarch: arm64
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
cache: true
- name: Build binaries
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: '0'
run: |
VERSION=${GITHUB_REF_NAME}
LDFLAGS="-s -w -X main.version=${VERSION}"
mkdir -p dist
for component in api worker scheduler reconciler dev; do
go build -ldflags="${LDFLAGS}" -o "dist/howk-${component}" "./cmd/${component}"
done
# Create tarball
tar -czf "howk-${VERSION}-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz" \
-C dist .
- name: Upload release artifacts
uses: softprops/action-gh-release@v2
with:
files: howk-*.tar.gz
generate_release_notes: true