diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..934bd3d --- /dev/null +++ b/.github/workflows/release.yaml @@ -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 }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..c52c7d0 --- /dev/null +++ b/.goreleaser.yaml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1d28d41 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +## v0.10.0 + +* Allow org.apache names in Connect JSON schema (#123) diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt