Skip to content

Commit 3292a1c

Browse files
committed
build: ensure release archives are published per target
1 parent 47337c8 commit 3292a1c

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.goreleaser.yaml

+10-9
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@ before:
66
- cargo install cross --git https://github.com/cross-rs/cross
77

88
builds:
9-
- id: "oxidizr"
10-
builder: rust
9+
- builder: rust
1110
targets:
1211
- x86_64-unknown-linux-gnu
1312
- aarch64-unknown-linux-gnu
1413
tool: "cross"
1514
command: build
1615

1716
archives:
18-
- builds:
19-
- default
20-
files:
21-
- "LICENSE*"
22-
- "README*"
17+
- format: tar.gz
18+
name_template: >-
19+
{{ .ProjectName }}_
20+
{{- title .Os }}_
21+
{{- if eq .Arch "amd64" }}x86_64
22+
{{- else if eq .Arch "386" }}i386
23+
{{- else }}{{ .Arch }}{{ end }}
2324
2425
checksum:
2526
name_template: "checksums.txt"
@@ -36,5 +37,5 @@ changelog:
3637
use: github
3738
filters:
3839
exclude:
39-
- "^test:"
40-
- "^ci:"
40+
- "^test"
41+
- "^ci"

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxidizr"
3-
version = "0.1.0"
3+
version = "1.0.0"
44
edition = "2021"
55

66
[dependencies]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Options:
7070

7171
```bash
7272
# Enable all experiments
73-
sudo oxidizr enable --ll
73+
sudo oxidizr enable --all
7474
# Enable just coreutils and findutils experiments
7575
sudo oxidizr enable --experiments coreutils findutils
7676
# Enable just coreutils experiment without prompting with debug logging enabled

0 commit comments

Comments
 (0)