0.1.6 11bec3a

.goreleaser.yaml RawHistoryFolder

1version: 2
2
3before:
4  hooks:
5    - go mod tidy
6
7release:
8  draft: true
9
10builds:
11  - id: "gordon"
12    main: ./cmd/cli/main.go
13    goos:
14      - linux
15      - windows
16      - darwin
17    goarch:
18      - amd64
19      - arm64
20    env:
21      - CGO_ENABLED=0
22    ldflags:
23      - -s -w -X main.build={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
24
25dockers:
26  - image_templates:
27      - "ghcr.io/bnema/gordon:{{ .Tag }}-amd64"
28    use: buildx
29    dockerfile: Dockerfile
30    goarch: amd64
31    build_flag_templates:
32      - "--pull"
33      - "--platform=linux/amd64"
34      - "--build-arg=ARCH=amd64"
35      - "--label=org.opencontainers.image.created={{.Date}}"
36      - "--label=org.opencontainers.image.title={{.ProjectName}}"
37      - "--label=org.opencontainers.image.revision={{.FullCommit}}"
38      - "--label=org.opencontainers.image.version={{.Version}}"
39      - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"
40  - image_templates:
41      - "ghcr.io/bnema/gordon:{{ .Tag }}-arm64"
42    use: buildx
43    dockerfile: Dockerfile
44    goarch: arm64
45    build_flag_templates:
46      - "--pull"
47      - "--platform=linux/arm64"
48      - "--build-arg=ARCH=arm64"
49      - "--label=org.opencontainers.image.created={{.Date}}"
50      - "--label=org.opencontainers.image.title={{.ProjectName}}"
51      - "--label=org.opencontainers.image.revision={{.FullCommit}}"
52      - "--label=org.opencontainers.image.version={{.Version}}"
53      - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"
54
55docker_manifests:
56  - name_template: ghcr.io/bnema/gordon:{{ .Tag }}
57    image_templates:
58      - ghcr.io/bnema/gordon:{{ .Tag }}-amd64
59      - ghcr.io/bnema/gordon:{{ .Tag }}-arm64
60  - name_template: ghcr.io/bnema/gordon:latest
61    image_templates:
62      - ghcr.io/bnema/gordon:{{ .Tag }}-amd64
63      - ghcr.io/bnema/gordon:{{ .Tag }}-arm64
64
65archives:
66  - format: zip
67    name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
68
69changelog:
70  sort: asc
71  filters:
72    exclude:
73      - "^docs:"
74      - "^test:"

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 7

Tags 106

↑↓ moveenter openesc close