Skip to content

Commit

Permalink
chore: goreleaser update
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyu003 committed Feb 11, 2024
1 parent 5d16e12 commit cff2a59
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project_name: 'sttr'
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:
Expand All @@ -7,12 +7,11 @@ before:
- go mod tidy
- go generate


builds:
- main: ./main.go
binary: sttr
goos: [ 'linux', 'darwin', 'windows' ]
goarch: [ '386', 'amd64', 'arm64' ]
goos: ["linux", "darwin", "windows"]
goarch: ["386", "amd64", "arm64"]
ldflags:
- -s -w -X "main.version={{.Version}}"
env:
Expand All @@ -22,12 +21,12 @@ universal_binaries:
- replace: true

changelog:
sort: 'asc'
sort: "asc"
filters:
exclude: [ '^docs:', 'demo', '^hugo:', 'Merge pull request', 'Merge branch' ]
exclude: ["^docs:", "demo", "^hugo:", "Merge pull request", "Merge branch"]

brews:
- tap:
- repository:
owner: abhimanyu003
name: homebrew-sttr
name: sttr
Expand All @@ -44,15 +43,15 @@ brews:
test: |
system "#{bin}/sttr -v"
scoop:
bucket:
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"
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:
Expand Down Expand Up @@ -81,17 +80,17 @@ snapcrafts:

apps:
sttr:
plugs: [ "home", "network" ]
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 <[email protected]>'
- "Abhimanyu Sharma <[email protected]>"
license: "MIT"
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://[email protected]/sttr-bin.git'
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://[email protected]/sttr-bin.git"
commit_author:
name: Abhimanyu Sharma
email: [email protected]
Expand All @@ -117,4 +116,4 @@ chocolateys:
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
skip_publish: true

0 comments on commit cff2a59

Please sign in to comment.