-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from prattlOrg/ben-local
added support for linux package managers, fixed TestStdin test, fixed hardcoded version
- Loading branch information
Showing
9 changed files
with
213 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,14 @@ builds: | |
goarch: 386 | ||
- goos: windows | ||
goarch: arm64 | ||
ldflags: | ||
- -s -w -X cmd.version={{.Version}} -X cmd.commit={{.Commit}} -X cmd.date={{.Date}} -X cmd.builtBy=goreleaser | ||
|
||
# binary_signs: | ||
# - {} | ||
|
||
# signs: | ||
# - artifacts: checksum | ||
|
||
universal_binaries: | ||
- replace: true | ||
|
@@ -66,7 +74,7 @@ brews: | |
chocolateys: | ||
- title: prattl | ||
authors: Ben Marshall, Ezra Klitsie | ||
project_url: https://github.com/prattlOrg/prattl | ||
project_url: https://prattl.co/ | ||
url_template: "https://github.com/prattlOrg/prattl/releases/download/{{ .Tag }}/{{ .ArtifactName }}" | ||
copyright: 2024 Prattl Org | ||
package_source_url: https://github.com/prattlOrg/prattl | ||
|
@@ -88,8 +96,42 @@ chocolateys: | |
source_repo: "https://push.chocolatey.org/" | ||
skip_publish: false | ||
|
||
nfpms: | ||
- package_name: prattl | ||
file_name_template: >- | ||
{{ .ProjectName }}_{{ .Os }}_ | ||
{{- if eq .Arch "amd64" }}x86_64 | ||
{{- else if eq .Arch "386" }}i386 | ||
{{- else }}{{ .Arch }}{{ end }} | ||
{{- if .Arm }}{{ .Arm }}{{ end }} | ||
vendor: Prattl Org. | ||
homepage: https://prattl.co/ | ||
maintainer: Benjamin Marshall <[email protected]> | ||
description: |- | ||
Prattl installer package. | ||
CLI tool for transcribing audio to text. | ||
license: MIT | ||
formats: | ||
- apk | ||
- deb | ||
- rpm | ||
- termux.deb | ||
- archlinux | ||
dependencies: | ||
- ffmpeg | ||
# Changelog YAML file, see: https://github.com/goreleaser/chglog | ||
# | ||
# You can use goreleaser/chglog to create the changelog for your project, | ||
# pass that changelog yaml file to GoReleaser, | ||
# and it should in turn setup it accordingly for the given available | ||
# formats (deb and rpm at the moment). | ||
# | ||
# Experimental. | ||
# changelog: changelog.yaml | ||
|
||
changelog: | ||
sort: asc | ||
use: github | ||
filters: | ||
exclude: | ||
- "^docs:" | ||
|
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
local: | ||
goreleaser release --snapshot --clean | ||
goreleaser release --snapshot --clean | ||
test-stdin: | ||
go test ./cmd -run TestStdin -count=1 -v | ||
test-fp: | ||
go test ./cmd -run TestFp -count=1 -v |
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
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
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
Oops, something went wrong.