File tree Expand file tree Collapse file tree 4 files changed +90
-3
lines changed Expand file tree Collapse file tree 4 files changed +90
-3
lines changed Original file line number Diff line number Diff line change 1- on :
2- release :
3- types : [published]
1+ on : {}
42jobs :
53 releases-matrix :
64 name : Release Go Binaries
Original file line number Diff line number Diff line change 1+ name : goreleaser
2+
3+ on :
4+ push :
5+ # run only against tags
6+ tags :
7+ - ' *'
8+
9+ permissions :
10+ contents : write
11+
12+ jobs :
13+ goreleaser :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+ with :
19+ fetch-depth : 0
20+
21+ - run : git fetch --force --tags
22+
23+ - name : Set up Go
24+ uses : actions/setup-go@v3
25+ with :
26+ go-version : 1.19
27+
28+ - name : Run GoReleaser
29+ uses : goreleaser/goreleaser-action@v4
30+ with :
31+ distribution : goreleaser
32+ version : latest
33+ args : release --clean --release-notes=${{ github.event.release.body }} --skip-validate --debug
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -21,3 +21,5 @@ target-jsonl-blob
2121
2222# Dependency directories (remove the comment below to include it)
2323# vendor/
24+
25+ dist /
Original file line number Diff line number Diff line change 1+ # This is an example .goreleaser.yml file with some sensible defaults.
2+ # Make sure to check the documentation at https://goreleaser.com
3+ before :
4+ hooks :
5+ - go mod tidy
6+ - go mod download
7+
8+ builds :
9+ - env :
10+ - CGO_ENABLED=0
11+ goos :
12+ - linux
13+ - windows
14+ - darwin
15+ goarch :
16+ - " 386"
17+ - " amd64"
18+ - " arm64"
19+
20+ archives :
21+ - format_overrides :
22+ - goos : windows
23+ format : zip
24+
25+ release :
26+ github :
27+ owner : MeltanoLabs
28+ name : target-jsonl-blob
29+ prerelease : auto
30+
31+ brews :
32+ - tap :
33+ owner : miniscruff
34+ name : changie
35+ homepage : https://github.com/MeltanoLabs/target-jsonl-blob
36+ description : JSONL Singer target for local storage, S3 and Azure Blob Storage.
37+ license : Apache-2.0
38+ skip_upload : auto
39+
40+ checksum :
41+ name_template : ' checksums.txt'
42+
43+ snapshot :
44+ name_template : " {{ .Tag }}-next"
45+
46+ changelog :
47+ skip : false
48+
49+ # The lines beneath this are called `modelines`. See `:help modeline`
50+ # Feel free to remove those if you don't want/use them.
51+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
52+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
You can’t perform that action at this time.
0 commit comments