Skip to content

Commit

Permalink
Enable creation of release assets (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz authored Jun 4, 2024
1 parent 1486af7 commit 6ef4f3e
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release assets
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
- run: make fmt
- run: make tidy
- run: make vet
- run: make test-unit
- run: make test-system
- uses: goreleaser/goreleaser-action@v3
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
36 changes: 36 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
builds:
- main: ./cmd/zync
env:
- CGO_ENABLED=0
ldflags:
- -s -X github.com/brimdata/zync/cmd/zync/version.version={{ .Summary }}
goarch:
- amd64
- arm64
goos:
- linux
- windows
- darwin
archives:
- name_template: zync-{{ .Summary }}.{{ .Os }}-{{ .Arch }}
format_overrides:
- goos: windows
format: zip
files:
- LICENSE.txt
release:
header: |
View [change log](CHANGELOG.md#{{ replace .Summary "." "" }}).
brews:
- name: zync
repository:
owner: brimdata
name: homebrew-tap
commit_author:
name: brim-bot
email: bot@brimdata.io
homepage: https://github.com/brimdata/zync
description: |
Kafka connector to sync Zed lakes to and from Kafka topics
changelog:
skip: true
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.10.0

* Allow org.apache names in Connect JSON schema (#123)
File renamed without changes.

0 comments on commit 6ef4f3e

Please sign in to comment.