Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable creation of release assets #124

Merged
merged 6 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release assets
on:
push:
tags:
- v*
jobs:
philrz marked this conversation as resolved.
Show resolved Hide resolved
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 }}
38 changes: 38 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
builds:
- main: ./cmd/zync
id: zync
binary: zync
philrz marked this conversation as resolved.
Show resolved Hide resolved
env:
- CGO_ENABLED=0
ldflags:
- -s -X github.com/brimdata/zync/cli.version={{ .Tag }}
philrz marked this conversation as resolved.
Show resolved Hide resolved
goarch:
- amd64
- arm64
goos:
- linux
- windows
- darwin
archives:
- name_template: zync-{{ .Tag }}.{{ .Os }}-{{ .Arch }}
philrz marked this conversation as resolved.
Show resolved Hide resolved
format_overrides:
- goos: windows
format: zip
files:
- LICENSE.txt
release:
header: |
View [change log](CHANGELOG.md#{{ replace .Tag "." "" }}).
philrz marked this conversation as resolved.
Show resolved Hide resolved
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.
Loading