chore: bump version to 1.9.9 #33
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24' | |
| - name: Build binaries | |
| run: | | |
| for os in darwin linux; do | |
| for arch in amd64 arm64; do | |
| GOOS=$os GOARCH=$arch go build -ldflags="-s -w" -o gen ./cmd/gen | |
| tar -czvf gen_${os}_${arch}.tar.gz gen | |
| rm gen | |
| done | |
| done | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: gen_*.tar.gz | |
| generate_release_notes: true |