/
.goreleaser.yml
119 lines (108 loc) · 3.87 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
project_name: "sttr"
# before are hooks that will be run before any builds are done, so good to put install scripts and stuff that your builds need here
before:
hooks:
# Remove unused packaged from the build process
- go mod tidy
- go generate
builds:
- main: ./main.go
binary: sttr
goos: ["linux", "darwin", "windows"]
goarch: ["386", "amd64", "arm64"]
ldflags:
- -s -w -X "main.version={{.Version}}"
env:
- CGO_ENABLED=0
universal_binaries:
- replace: true
changelog:
sort: "asc"
filters:
exclude: ["^docs:", "demo", "^hugo:", "Merge pull request", "Merge branch"]
brews:
- repository:
owner: abhimanyu003
name: homebrew-sttr
name: sttr
homepage: "https://github.com/abhimanyu003/sttr"
description: "A cross-platform, cli app to perform various string operations."
license: "MIT"
skip_upload: auto
commit_author:
name: abhimanyu003
email: abhimanyusharma003@gmail.com
directory: Formula
install: |-
bin.install "sttr"
test: |
system "#{bin}/sttr -v"
scoops:
- repository:
owner: abhimanyu003
name: scoop-bucket
token: "{{ .Env.GITHUB_TOKEN }}"
name: sttr
homepage: "https://github.com/abhimanyu003/sttr"
description: "sttr is command line software that allows you to quickly run various transformation operations on the string."
license: "MIT"
nfpms:
- builds:
- sttr
vendor: abhimanyu003
homepage: "https://github.com/abhimanyu003/sttr/"
maintainer: "Abhimanyu Sharma <abhimanyusharma003@gmail.com>"
description: "A cross-platform, cli app to perform various operations on string"
license: MIT
formats:
- deb
- rpm
- termux.deb
bindir: /usr/bin
snapcrafts:
- name: sttr
publish: true
summary: A cross-platform, cli app to perform various operations on string.
description: |
sttr is command line software that allows you to quickly run various transformation operations on the string.
grade: stable
confinement: strict
license: MIT
base: core20
apps:
sttr:
plugs: ["home", "network"]
aurs:
- name: sttr-bin
homepage: "https://github.com/abhimanyu003/sttr"
description: "sttr is command line software that allows you to quickly run various transformation operations on the string."
maintainers:
- "Abhimanyu Sharma <abhimanyusharma003@gmail.com>"
license: "MIT"
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://aur@aur.archlinux.org/sttr-bin.git"
commit_author:
name: Abhimanyu Sharma
email: abhimanyusharma003@gmail.com
chocolateys:
- name: sttr
title: sttr - A cross-platform, cli app to perform various operations on string.
authors: Abhimanyu Sharma
project_url: https://github.com/abhimanyu003/sttr
url_template: "https://github.com/abhimanyu003/sttr/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
icon_url: https://cdn.jsdelivr.net/gh/abhimanyu003/sttr@main/media/logo.png
copyright: 2023 Abhimanyu Sharma
license_url: https://github.com/abhimanyu003/sttr/blob/main/LICENSE
require_license_acceptance: false
project_source_url: https://github.com/abhimanyu003/sttr
docs_url: https://github.com/abhimanyu003/sttr/blob/main/README.md
bug_tracker_url: https://github.com/abhimanyu003/sttr/issues
tags: "productivity encoding terminal string decoding tui developer-tools transform cli-app encrypt encryption-decryption count-lines devutils tui-app count-words zeropad"
summary: A cross-platform, cli app to perform various operations on string.
description: |
sttr installer package.
A cross-platform, cli app to perform various operations on string.
release_notes: "https://github.com/abhimanyu003/sttr/releases/tag/v{{ .Version }}"
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
source_repo: "https://push.chocolatey.org/"
skip_publish: true