Skip to content

Commit

Permalink
figured it out alx
Browse files Browse the repository at this point in the history
  • Loading branch information
AvicennaJr committed Oct 15, 2023
1 parent 4ca9cde commit 7732a4b
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -21,21 +12,21 @@ 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 }}_
{{- if eq .Arch "amd64" }}x86_64
{{- 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
Expand All @@ -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"
description: "Nuru is a programming language built from the ground up"
formats:
- deb
file_name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

0 comments on commit 7732a4b

Please sign in to comment.