-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
91 lines (91 loc) · 2.69 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: 2
project_name: packemon
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
# - id: packemon
# main: ./cmd/packemon
# binary: packemon
# ldflags:
# - -s -w
# - -X main.Version={{.Version}}
# - -X main.Revision={{.ShortCommit}}
# goos:
# - darwin
# - windows
# env:
# - CGO_ENABLED=0
- id: packemon-linux
main: ./cmd/packemon
binary: packemon
ldflags:
- -s -w
- -X main.Version={{.Version}}
- -X main.Revision={{.ShortCommit}}
goos:
- linux
env:
- CGO_ENABLED=0
- id: packemon-api-linux
main: ./cmd/packemon-api
binary: packemon-api
ldflags:
- -s -w
- -X main.Version={{.Version}}
- -X main.Revision={{.ShortCommit}}
goos:
- linux
env:
- CGO_ENABLED=0
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
# format_overrides:
# - goos: windows
# format: zip
files:
- LICENSE
- CREDITS
release:
prerelease: auto
# brews:
# - repository:
# owner: ddddddO
# name: homebrew-tap
# token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
# directory: Formula
# homepage: 'https://github.com/ddddddO/packemon'
# description: "Packet monster, or Packémon for short! (っ‘-’)╮=͟͟͞͞◒ ヽ( '-'ヽ). TUI tool for sending packets of arbitrary input and monitoring packets on any network interfaces (default: eth0)."
# license: "BSD-2-Clause"
# scoops:
# - repository:
# owner: ddddddO
# name: scoop-bucket
# token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
# url_template: "https://github.com/ddddddO/packemon/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# homepage: "https://github.com/ddddddO/packemon"
# description: "Packet monster, or Packémon for short! (っ‘-’)╮=͟͟͞͞◒ ヽ( '-'ヽ). TUI tool for sending packets of arbitrary input and monitoring packets on any network interfaces (default: eth0)."
# license: "BSD-2-Clause"
nfpms:
- id: packemon-nfpms
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
builds:
- packemon-linux
- packemon-api-linux
homepage: https://github.com/ddddddO/packemon
maintainer: ddddddO <lbfdeatq@gmail.com>
description: "Packet monster, or Packémon for short! (っ‘-’)╮=͟͟͞͞◒ ヽ( '-'ヽ). TUI tool for sending packets of arbitrary input and monitoring packets on any network interfaces (default: eth0)."
license: BSD-2-Clause
formats:
- deb
- rpm
- apk
bindir: /usr/bin
epoch: 1