Skip to content

Commit 6ef4f3e

Browse files
authored
Enable creation of release assets (#124)
1 parent 1486af7 commit 6ef4f3e

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed

.github/workflows/release.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: release assets
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
fetch-depth: 0
13+
- uses: actions/setup-go@v3
14+
with:
15+
go-version-file: go.mod
16+
- run: make fmt
17+
- run: make tidy
18+
- run: make vet
19+
- run: make test-unit
20+
- run: make test-system
21+
- uses: goreleaser/goreleaser-action@v3
22+
with:
23+
args: release --clean
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}

.goreleaser.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
builds:
2+
- main: ./cmd/zync
3+
env:
4+
- CGO_ENABLED=0
5+
ldflags:
6+
- -s -X github.com/brimdata/zync/cmd/zync/version.version={{ .Summary }}
7+
goarch:
8+
- amd64
9+
- arm64
10+
goos:
11+
- linux
12+
- windows
13+
- darwin
14+
archives:
15+
- name_template: zync-{{ .Summary }}.{{ .Os }}-{{ .Arch }}
16+
format_overrides:
17+
- goos: windows
18+
format: zip
19+
files:
20+
- LICENSE.txt
21+
release:
22+
header: |
23+
View [change log](CHANGELOG.md#{{ replace .Summary "." "" }}).
24+
brews:
25+
- name: zync
26+
repository:
27+
owner: brimdata
28+
name: homebrew-tap
29+
commit_author:
30+
name: brim-bot
31+
32+
homepage: https://github.com/brimdata/zync
33+
description: |
34+
Kafka connector to sync Zed lakes to and from Kafka topics
35+
changelog:
36+
skip: true

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## v0.10.0
2+
3+
* Allow org.apache names in Connect JSON schema (#123)
File renamed without changes.

0 commit comments

Comments
 (0)