diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d5fccfd..dba4b11 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,16 +1,7 @@ -# This is an example .goreleaser.yml file with some sensible defaults. -# Make sure to check the documentation at https://goreleaser.com - -# The lines bellow are called `modelines`. See `:help modeline` -# Feel free to remove those if you don't want/need to use them. -# yaml-language-server: $schema=https://goreleaser.com/static/schema.json -# vim: set ts=2 sw=2 tw=0 fo=cnqoj - +project_name: nuru before: hooks: - # You may remove this if you don't use go modules. - go mod tidy - # you may remove this if you don't need go generate - go generate ./... builds: @@ -21,13 +12,14 @@ builds: - windows - darwin - android + ldflags: + - '-s -w' ignore: - goos: android goarch: 386 archives: - format: tar.gz - # this name template makes the OS and Arch compatible with the results of `uname`. name_template: >- nuru_ {{- title .Os }}_ @@ -35,7 +27,6 @@ archives: {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }} - # use zip for windows archives format_overrides: - goos: windows format: zip @@ -48,11 +39,9 @@ changelog: - "^test:" nfpms: - - name: nuru - maintainer: AvicennaJr - arch: amd64 - platform: linux - section: default - priority: extra + - maintainer: "AvicennaJr" homepage: "https://nuruprogramming.org" - description: "Nuru is a programming language built from the ground up" \ No newline at end of file + description: "Nuru is a programming language built from the ground up" + formats: + - deb + file_name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" \ No newline at end of file