-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
54 lines (48 loc) · 1.32 KB
/
.goreleaser.yaml
File metadata and controls
54 lines (48 loc) · 1.32 KB
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
48
49
50
51
52
53
54
version: 2
project_name: dictpress
before:
hooks:
- rustup default stable
- cargo install --locked cargo-zigbuild
- cargo fetch --locked
builds:
- builder: rust
targets:
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl
# NOTE: macOS/Windows targets excluded due to mimalloc cross-compilation issues
# The mimalloc C library can't cross-compile with cargo-zigbuild:
# - macOS: Missing CommonCrypto headers
# - Windows: -Werror,-Wdate-time fails on __DATE__/__TIME__ macros
#
# To enable macOS/Windows targets, make mimalloc optional in Cargo.toml:
# mimalloc = { version = "0.1", default-features = false, optional = true }
# [features]
# musl = ["mimalloc"]
archives:
- formats:
- tar.gz
# Include Target to differentiate gnu vs musl builds
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Target }}"
format_overrides:
- goos: windows
formats:
- zip
files:
- README.md
- LICENSE
- site/**/*
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
# universal_binaries disabled: no macOS targets currently
# universal_binaries:
# - replace: true
release:
footer: |
---
Released with [GoReleaser](https://goreleaser.com).