File tree Expand file tree Collapse file tree 4 files changed +95
-2
lines changed
Expand file tree Collapse file tree 4 files changed +95
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+
20+ - name : Set up Go
21+ uses : actions/setup-go@v5
22+ with :
23+ go-version : " 1.23"
24+
25+ - name : Run GoReleaser
26+ uses : goreleaser/goreleaser-action@v6
27+ with :
28+ distribution : goreleaser
29+ version : latest
30+ args : release --clean
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 44* .test
55test.go
66.env
7+
8+ # Binary
9+ tabby
10+ tabby.exe
11+ dist /
Original file line number Diff line number Diff line change 1+ # GoReleaser configuration for tabby
2+ # Documentation: https://goreleaser.com
3+
4+ version : 2
5+
6+ before :
7+ hooks :
8+ - go mod tidy
9+
10+ builds :
11+ - id : tabby
12+ main : ./main.go
13+ binary : tabby
14+ env :
15+ - CGO_ENABLED=0
16+ goos :
17+ - linux
18+ - darwin
19+ - windows
20+ goarch :
21+ - amd64
22+ - arm64
23+ ldflags :
24+ - -s -w
25+ - -X github.com/nhdfr/tabby/cmd.Version={{.Version}}
26+
27+ archives :
28+ - id : tabby
29+ builds :
30+ - tabby
31+ format : tar.gz
32+ name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
33+ format_overrides :
34+ - goos : windows
35+ format : zip
36+
37+ checksum :
38+ name_template : " checksums.txt"
39+
40+ changelog :
41+ sort : asc
42+ filters :
43+ exclude :
44+ - " ^docs:"
45+ - " ^test:"
46+ - " ^chore:"
47+
48+ release :
49+ github :
50+ owner : nhdfr
51+ name : tabby
52+ draft : false
53+ prerelease : auto
Original file line number Diff line number Diff line change @@ -6,9 +6,12 @@ import (
66 "github.com/spf13/cobra"
77)
88
9+ var Version = "0.1.1"
10+
911var rootCmd = & cobra.Command {
10- Use : "tabby" ,
11- Short : "A powerful terminal-based HTTP testing and stress testing tool" ,
12+ Use : "tabby" ,
13+ Short : "A powerful terminal-based HTTP testing and stress testing tool" ,
14+ Version : Version ,
1215 Long : `Tabby is a terminal-based HTTP testing and stress testing tool with automated data generation capabilities.
1316
1417Features:
You can’t perform that action at this time.
0 commit comments