Skip to content

Commit 7b95313

Browse files
committed
build: upgrade buf and goreleaser
1 parent 2fa5445 commit 7b95313

17 files changed

+23
-33
lines changed

.goreleaser.yml

+6-16
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,26 @@ before:
1111
- make clean
1212

1313
changelog:
14+
use: github
1415
sort: asc
1516
filters:
16-
exclude:
17-
- "^docs:"
18-
- "^test:"
19-
- "^build:"
17+
exclude: ["^docs:", "^test:", "^build:", "^refactor:", "^style:", "^chore:"]
2018

2119
builds:
2220
- main: ./main.go
23-
id: "linux"
2421
binary: meteor
2522
flags: [-a]
2623
ldflags:
2724
- -X github.com/raystack/meteor/cmd.Version={{.Tag}}
2825
- -X github.com/raystack/meteor/cmd.BuildCommit={{.FullCommit}}
2926
- -X github.com/raystack/meteor/cmd.BuildDate={{.Date}}
3027
goos: ["linux", "windows", "darwin"]
31-
goarch: [amd64, arm64] # skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library
28+
goarch: [amd64, arm64] # Skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library
3229
env:
3330
- CGO_ENABLED=0
34-
ignore: # skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library
35-
- goos: linux
36-
goarch: 386
31+
ignore:
3732
- goos: linux
3833
goarch: arm
39-
- goos: windows
40-
goarch: 386
4134
- goos: windows
4235
goarch: arm
4336

@@ -51,7 +44,7 @@ checksum:
5144
name_template: "checksums.txt"
5245

5346
snapshot:
54-
name_template: "{{ .Tag }}-next"
47+
version_template: "{{ .Tag }}-next"
5548

5649
dockers:
5750
- goos: linux
@@ -69,10 +62,7 @@ nfpms:
6962
description: "Metadata collection tool."
7063
homepage: https://github.com/raystack/meteor
7164
license: Apache 2.0
72-
formats:
73-
- deb
74-
- rpm
75-
- apk
65+
formats: [deb, rpm, apk]
7666

7767
scoops:
7868
- homepage: "https://github.com/raystack/meteor"

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
NAME="github.com/raystack/meteor"
22
VERSION=$(shell git describe --always --tags 2>/dev/null)
33
COVERFILE="/tmp/app.coverprofile"
4-
PROTON_COMMIT := "42b77358cbb68335607e99794f729e4a558974a5"
4+
PROTON_COMMIT := "ae895e033f71df187c62d7cf9431a2e259ddd423"
55
.PHONY: all build clean test
66

77
all: build

buf.gen.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
version: v1
1+
version: v2
22
plugins:
3-
- name: go
3+
- remote: buf.build/protocolbuffers/go:v1.31.0
44
out: models
55
opt: paths=source_relative

models/raystack/assets/v1beta2/application.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/asset.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/bucket.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/common.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/dashboard.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/experiment.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/feature_table.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/group.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/job.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/metric.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/model.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/table.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/topic.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/raystack/assets/v1beta2/user.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)