Skip to content

Commit 7732a4b

Browse files
committed
figured it out alx
1 parent 4ca9cde commit 7732a4b

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

.goreleaser.yaml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
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
92
before:
103
hooks:
11-
# You may remove this if you don't use go modules.
124
- go mod tidy
13-
# you may remove this if you don't need go generate
145
- go generate ./...
156

167
builds:
@@ -21,21 +12,21 @@ builds:
2112
- windows
2213
- darwin
2314
- android
15+
ldflags:
16+
- '-s -w'
2417
ignore:
2518
- goos: android
2619
goarch: 386
2720

2821
archives:
2922
- format: tar.gz
30-
# this name template makes the OS and Arch compatible with the results of `uname`.
3123
name_template: >-
3224
nuru_
3325
{{- title .Os }}_
3426
{{- if eq .Arch "amd64" }}x86_64
3527
{{- else if eq .Arch "386" }}i386
3628
{{- else }}{{ .Arch }}{{ end }}
3729
{{- if .Arm }}v{{ .Arm }}{{ end }}
38-
# use zip for windows archives
3930
format_overrides:
4031
- goos: windows
4132
format: zip
@@ -48,11 +39,9 @@ changelog:
4839
- "^test:"
4940

5041
nfpms:
51-
- name: nuru
52-
maintainer: AvicennaJr
53-
arch: amd64
54-
platform: linux
55-
section: default
56-
priority: extra
42+
- maintainer: "AvicennaJr"
5743
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 }}"

0 commit comments

Comments
 (0)