v0.3.98 ff10c69

.goreleaser.yaml RawHistoryFolder

1# GoReleaser config — builds cross-platform binaries and GitHub Release
2# artifacts for zot.
3#
4# Triggered by pushing a tag like `v0.1.0`. The release workflow runs
5# `goreleaser release --clean`, which compiles every target, packs
6# them into `.tar.gz` (Unix) / `.zip` (Windows) archives, generates a
7# checksum file, and uploads everything to a GitHub Release.
8
9version: 2
10
11project_name: zot
12
13before:
14  hooks:
15    - go mod tidy
16
17builds:
18  - id: zot
19    main: ./cmd/zot
20    binary: zot
21    env:
22      - CGO_ENABLED=0
23    goos: [linux, darwin, windows]
24    goarch: [amd64, arm64]
25    # Windows/arm64 is shipped by Go but rarely used — skip to keep the
26    # release artifact list tidy.
27    ignore:
28      - goos: windows
29        goarch: arm64
30    flags:
31      - -trimpath
32    ldflags:
33      - -s -w
34      - -X main.version={{.Version}}
35      - -X main.commit={{.Commit}}
36      - -X main.date={{.Date}}
37
38archives:
39  - id: zot
40    # Human-friendly name: zot_0.1.0_darwin_arm64.tar.gz
41    name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
42    files:
43      - LICENSE
44      - README.md
45    format_overrides:
46      - goos: windows
47        format: zip
48
49checksum:
50  name_template: "checksums.txt"
51  algorithm: sha256
52
53snapshot:
54  # Used by `goreleaser release --snapshot`; lets contributors build
55  # a local release without pushing a tag.
56  version_template: "{{ incpatch .Version }}-next"
57
58changelog:
59  sort: asc
60  use: github
61  filters:
62    exclude:
63      - "^docs:"
64      - "^chore:"
65      - "^ci:"
66      - "^test:"
67  groups:
68    - title: features
69      regexp: "^.*feat[(\\w)]*:+.*$"
70      order: 0
71    - title: fixes
72      regexp: "^.*fix[(\\w)]*:+.*$"
73      order: 1
74    - title: other
75      order: 999
76
77release:
78  github:
79    owner: patriceckhart
80    name: zot
81  draft: false
82  prerelease: auto
83  # Auto-generated release notes include the changelog groups above plus
84  # an install snippet so the release page itself is a landing page.
85  header: |
86    ## zot {{ .Tag }}
87
88    one-liner install:
89
90    ```bash
91    curl -fsSL https://raw.githubusercontent.com/patriceckhart/zot/main/install.sh | bash
92    ```
93
94    or download a binary below, `chmod +x`, and drop it on your `$PATH`.

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 1

Tags 476

↑↓ moveenter openesc close