-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
registry.yaml
47 lines (47 loc) · 1.36 KB
/
registry.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
packages:
- type: github_release
repo_owner: gohugoio
repo_name: hugo
asset: hugo_{{trimV .Version}}_{{.OS}}-{{.Arch}}.{{.Format}}
description: The world’s fastest framework for building websites
files:
- name: hugo
format: tar.gz
checksum:
type: github_release
asset: hugo_{{trimV .Version}}_checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
version_constraint: semver(">= 0.103.0")
overrides:
- goos: windows
format: zip
- goos: darwin
asset: hugo_{{trimV .Version}}_darwin-universal.tar.gz
version_overrides:
- version_constraint: semver(">= 0.102.0")
overrides:
- goos: windows
format: zip
- goos: darwin
asset: hugo_{{trimV .Version}}_macOS-universal.tar.gz
replacements: &hugo_replacements_1
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
dragonfly: DragonFlyBSD
- version_constraint: "true"
replacements: *hugo_replacements_1
overrides:
- goos: windows
format: zip