v0.1.13 516c45b

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