File tree Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change 1
- # This is an example .goreleaser.yml file with some sensible defaults.
2
- # Make sure to check the documentation at https://goreleaser.com
3
-
4
- # The lines bellow are called `modelines`. See `:help modeline`
5
- # Feel free to remove those if you don't want/need to use them.
6
- # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7
- # vim: set ts=2 sw=2 tw=0 fo=cnqoj
8
-
1
+ project_name : nuru
9
2
before :
10
3
hooks :
11
- # You may remove this if you don't use go modules.
12
4
- go mod tidy
13
- # you may remove this if you don't need go generate
14
5
- go generate ./...
15
6
16
7
builds :
@@ -21,21 +12,21 @@ builds:
21
12
- windows
22
13
- darwin
23
14
- android
15
+ ldflags :
16
+ - ' -s -w'
24
17
ignore :
25
18
- goos : android
26
19
goarch : 386
27
20
28
21
archives :
29
22
- format : tar.gz
30
- # this name template makes the OS and Arch compatible with the results of `uname`.
31
23
name_template : >-
32
24
nuru_
33
25
{{- title .Os }}_
34
26
{{- if eq .Arch "amd64" }}x86_64
35
27
{{- else if eq .Arch "386" }}i386
36
28
{{- else }}{{ .Arch }}{{ end }}
37
29
{{- if .Arm }}v{{ .Arm }}{{ end }}
38
- # use zip for windows archives
39
30
format_overrides :
40
31
- goos : windows
41
32
format : zip
@@ -48,11 +39,9 @@ changelog:
48
39
- " ^test:"
49
40
50
41
nfpms :
51
- - name : nuru
52
- maintainer : AvicennaJr
53
- arch : amd64
54
- platform : linux
55
- section : default
56
- priority : extra
42
+ - maintainer : " AvicennaJr"
57
43
homepage : " https://nuruprogramming.org"
58
- description : " Nuru is a programming language built from the ground up"
44
+ description : " Nuru is a programming language built from the ground up"
45
+ formats :
46
+ - deb
47
+ file_name_template : " {{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
You can’t perform that action at this time.
0 commit comments