-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add .deb and .rpm to build process
- Loading branch information
1 parent
e12328b
commit fd0ff10
Showing
2 changed files
with
52 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,31 +54,53 @@ archives: | |
checksum: | ||
name_template: 'checksums.txt' | ||
|
||
# # This is an example goreleaser.yaml file with some sane defaults. | ||
# # Make sure to check the documentation at http://goreleaser.com | ||
# before: | ||
# hooks: | ||
# # You may remove this if you don't use go modules. | ||
# - go mod download | ||
# # you may remove this if you don't need go generate | ||
# - go generate ./... | ||
# builds: | ||
# - env: | ||
# - CGO_ENABLED=0 | ||
# archives: | ||
# - replacements: | ||
# darwin: Darwin | ||
# linux: Linux | ||
# windows: Windows | ||
# 386: i386 | ||
# amd64: x86_64 | ||
# checksum: | ||
# name_template: 'checksums.txt' | ||
# snapshot: | ||
# name_template: "{{ .Tag }}-next" | ||
# changelog: | ||
# sort: asc | ||
# filters: | ||
# exclude: | ||
# - '^docs:' | ||
# - '^test:' | ||
nfpms: | ||
- | ||
# You can change the name of the package. | ||
# This is parsed with the Go template engine and the following variables | ||
# are available: | ||
# - ProjectName | ||
# - Tag | ||
# - Version (Git tag without `v` prefix) | ||
# - Os | ||
# - Arch | ||
# - Arm (ARM version) | ||
# - Env (environment variables) | ||
# Default: `{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}` | ||
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
|
||
# Your app's vendor. | ||
# Default is empty. | ||
vendor: Patrick Stebbe | ||
|
||
# Your app's homepage. | ||
# Default is empty. | ||
homepage: https://github.com/MoonLiightz/magic-home | ||
|
||
# Your app's maintainer (probably you). | ||
# Default is empty. | ||
maintainer: Patrick Stebbe <[email protected]> | ||
|
||
# Your app's description. | ||
# Default is empty. | ||
description: A CLI and library written in Go for controlling Magic Home (Magic Hue) LED Strip Controllers. | ||
|
||
# Your app's license. | ||
# Default is empty. | ||
license: MIT | ||
|
||
# Formats to be generated. | ||
formats: | ||
- deb | ||
- rpm | ||
|
||
# Replacements for GOOS and GOARCH in the package name. | ||
# Keys should be valid GOOSs or GOARCHs. | ||
# Values are the respective replacements. | ||
# Default is empty. | ||
replacements: | ||
386: i386 | ||
arm: armhf | ||
|
||
# Override default /usr/local/bin destination for binaries | ||
# bindir: /usr/bin |