v3.5.0 8345e76

.goreleaser.yaml RawHistoryFolder

1version: 2
2
3# Releases are published on ermite. In CI the runner sets GITHUB_API_URL and
4# GITHUB_SERVER_URL to an address the job can reach; the public URLs are the
5# fallback for a local run.
6github_urls:
7  api: '{{ or (index .Env "GITHUB_API_URL") "https://git.bnema.dev/-/github/api" }}/'
8  upload: '{{ or (index .Env "GITHUB_API_URL") "https://git.bnema.dev/-/github/api" }}/uploads/'
9  download: '{{ or (index .Env "GITHUB_SERVER_URL") "https://git.bnema.dev" }}/'
10
11before:
12  hooks:
13
14git:
15  prerelease_suffix: "-"
16
17release:
18  github:
19    owner: bnema
20    name: gordon
21  # Publish after checking it: ermite release edit gordon <tag> --publish
22  draft: true
23  prerelease: auto
24
25builds:
26  - id: "gordon"
27    main: ./main.go
28    binary: gordon
29    goos:
30      - linux
31      - darwin
32    goarch:
33      - amd64
34      - arm64
35    env:
36      - CGO_ENABLED=0
37    ldflags:
38      - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.dirty={{.IsGitDirty}}
39
40# Docker builds disabled for v2.0.0 release (will add back with proper buildx setup)
41# dockers:
42# docker_manifests:
43
44archives:
45  - name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
46
47checksum:
48  name_template: "checksums.txt"
49
50changelog:
51  sort: asc
52  filters:
53    exclude:
54      - "^docs:"
55      - "^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