Skip to content

Commit 4a509c0

Browse files
author
Brean
committed
Added goreleaser.yml
1 parent 575ae7d commit 4a509c0

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ scripts/*
1616

1717
PKGBUILD
1818
.SRCINFO
19-
.goreleaser.yml
2019

.goreleaser.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 2
2+
project_name: node-cleaner
3+
4+
builds:
5+
- id: rust-build
6+
builder: rust # Use Cargo to build the Rust project.
7+
dir: . # Use the current directory as the working directory.
8+
binary: node-cleaner # Name the output binary "node-cleaner".
9+
targets:
10+
- x86_64-unknown-linux-gnu # 64-bit Linux build.
11+
- aarch64-unknown-linux-gnu # ARM64 Linux build using GNU libc.
12+
flags:
13+
- --release # Build with release optimizations.
14+
15+
archives:
16+
- id: default
17+
ids:
18+
- rust-build
19+
formats:
20+
- tar.gz
21+
- zip
22+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
23+
files:
24+
- README.md
25+
- LICENSE

0 commit comments

Comments
 (0)