File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed
Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ name : release
2+ on :
3+ push :
4+ tags :
5+ - v*
6+ permissions :
7+ contents : write
8+ jobs :
9+ plugin :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 0
15+ - uses : actions/setup-go@v5
16+ with :
17+ go-version : " stable"
18+ cache-dependency-path : " ./go.sum"
19+
20+ - uses : goreleaser/goreleaser-action@v6
21+ with :
22+ args : release --clean
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ TAP_GITHUB_TOKEN : ${{ secrets.TAP_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2+ version : 2
3+
4+ builds :
5+ - id : sqlc-gen-kotlin-ichi
6+ main : " ./plugin"
7+ binary : sqlc-gen-kotlin-ichi
8+ flags :
9+ - -trimpath
10+ ldflags :
11+ - -s -w
12+ goos :
13+ - wasip1
14+ goarch :
15+ - wasm
16+
17+ changelog :
18+ sort : asc
19+ filters :
20+ exclude :
21+ - " ^docs:"
22+ - " ^test:"
23+
24+ report_sizes : true
25+
26+ dist : " ./bin"
27+
28+ archives :
29+ - formats :
30+ - binary
31+ name_template : " {{ .Binary }}_{{ .Version }}"
32+
33+ release :
34+ draft : true
You can’t perform that action at this time.
0 commit comments