File tree Expand file tree Collapse file tree 6 files changed +91
-3
lines changed
Expand file tree Collapse file tree 6 files changed +91
-3
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+ goreleaser :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+ - name : Set up Go
20+ uses : actions/setup-go@v5
21+ - name : Run GoReleaser
22+ uses : goreleaser/goreleaser-action@v6
23+ with :
24+ # either 'goreleaser' (default) or 'goreleaser-pro'
25+ distribution : goreleaser
26+ # 'latest', 'nightly', or a semver
27+ version : ' ~> v2'
28+ args : release --clean
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11env /
22workbench
3+ # Added by goreleaser init:
4+ 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+
4+ # The lines below are called `modelines`. See `:help modeline`
5+ # Feel free to remove those if you don't want/need to use them.
6+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
8+
9+ project_name : workbench
10+
11+ version : 2
12+
13+ before :
14+ hooks :
15+ # You may remove this if you don't use go modules.
16+ - go mod tidy
17+ # you may remove this if you don't need go generate
18+ - go generate ./...
19+
20+ builds :
21+ - main : ./cmd
22+ env :
23+ - CGO_ENABLED=0
24+ goos :
25+ - linux
26+ - windows
27+ - darwin
28+
29+ archives :
30+ - formats : [tar.gz]
31+ # this name template makes the OS and Arch compatible with the results of `uname`.
32+ name_template : >-
33+ {{ .ProjectName }}_
34+ {{- title .Os }}_
35+ {{- if eq .Arch "amd64" }}x86_64
36+ {{- else if eq .Arch "386" }}i386
37+ {{- else }}{{ .Arch }}{{ end }}
38+ {{- if .Arm }}v{{ .Arm }}{{ end }}
39+ # use zip for windows archives
40+ format_overrides :
41+ - goos : windows
42+ formats : [zip]
43+
44+ changelog :
45+ sort : asc
46+ filters :
47+ exclude :
48+ - " ^docs:"
49+ - " ^test:"
50+
51+ release :
52+ footer : >-
53+
54+ ---
55+
56+ Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Workbench requires Docker Compose v2.
1010Go 1.24.3 or newer is required to build Workbench.
1111
1212``` shell
13- > git clone https://github.com/tmacro /workbench.git
13+ > git clone https://github.com/scality /workbench.git
1414> cd workbench/
1515> make
1616```
Original file line number Diff line number Diff line change 88 "path/filepath"
99 "text/template"
1010
11- "github.com/tmacro /workbench"
11+ "github.com/scality /workbench"
1212)
1313
1414func getTemplates () fs.FS {
Original file line number Diff line number Diff line change 1- module github.com/tmacro /workbench
1+ module github.com/scality /workbench
22
33go 1.24.3
44
You can’t perform that action at this time.
0 commit comments