-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Mar 22, 2024
0 parents
commit c4ad641
Showing
521 changed files
with
92,437 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
before: | ||
hooks: | ||
- go mod tidy | ||
builds: | ||
- | ||
id: default | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- windows | ||
- linux | ||
- darwin | ||
- freebsd | ||
- solaris | ||
goarch: | ||
- amd64 | ||
- "386" | ||
- arm | ||
- arm64 | ||
- mips | ||
- mipsle | ||
- mips64 | ||
goarm: | ||
- "6" | ||
- "7" | ||
flags: | ||
- -trimpath | ||
ldflags: | ||
- -s -w | ||
upx: | ||
- | ||
ids: [ default ] | ||
enabled: true | ||
goos: ["windows", "linux"] | ||
goarch: ["amd64", "386"] | ||
compress: best | ||
# lzma: true | ||
# brute: true | ||
archives: | ||
- | ||
format: binary | ||
allow_different_binary_count: true | ||
name_template: >- | ||
{{- .ProjectName }} | ||
{{- if eq .Os "darwin"}}_mac | ||
{{- else if eq .Os "linux"}} | ||
{{- else if eq .Os "windows"}} | ||
{{- else }}_{{ .Os }}{{ end }} | ||
{{- if eq .Arch "amd64" }} | ||
{{- else if eq .Arch "386" }}32 | ||
{{- else }}_{{ .Arch }}{{ end }} | ||
{{- if .Arm }}v{{ .Arm }}{{ end -}} | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
name_template: "{{ incpatch .Version }}-next" | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
- "^*.md" | ||
- "^*.ya?ml" |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: "Check out code" | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Set up Go" | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.22.x | ||
- | ||
name: Install UPX | ||
uses: crazy-max/ghaction-upx@v3 | ||
with: | ||
install-only: true | ||
|
||
- name: UPX version | ||
run: upx --version | ||
|
||
- | ||
name: "Create release on GitHub" | ||
uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: "release --clean --debug -f .github/conf/.goreleaser.yml" | ||
workdir: . | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.