From 0d515bf354933e6fc4687c9d3779c3919598c825 Mon Sep 17 00:00:00 2001 From: firefart <105281+firefart@users.noreply.github.com> Date: Sun, 16 Jun 2024 16:54:36 +0200 Subject: [PATCH] update --- .gitignore | 2 ++ .goreleaser.yaml | 29 +++++++++++++++-------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index c19698fe..a5712902 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ config.json *.env stunner *.sh + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a65edfee..f0ff055c 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,11 +1,20 @@ # This is an example .goreleaser.yml file with some sensible defaults. # Make sure to check the documentation at https://goreleaser.com + +# The lines below are called `modelines`. See `:help modeline` +# Feel free to remove those if you don't want/need to use them. +# yaml-language-server: $schema=https://goreleaser.com/static/schema.json +# vim: set ts=2 sw=2 tw=0 fo=cnqoj + +version: 2 + before: hooks: # You may remove this if you don't use go modules. - go mod tidy # you may remove this if you don't need go generate - go generate ./... + builds: - env: - CGO_ENABLED=0 @@ -16,7 +25,7 @@ builds: archives: - format: tar.gz - # this name template makes the OS and Arch compatible with the results of uname. + # this name template makes the OS and Arch compatible with the results of `uname`. name_template: >- {{ .ProjectName }}_ {{- title .Os }}_ @@ -26,20 +35,12 @@ archives: {{- if .Arm }}v{{ .Arm }}{{ end }} # use zip for windows archives format_overrides: - - goos: windows - format: zip -checksum: - name_template: 'checksums.txt' -snapshot: - name_template: "{{ incpatch .Version }}-next" + - goos: windows + format: zip + changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' - -# The lines beneath this are called `modelines`. See `:help modeline` -# Feel free to remove those if you don't want/use them. -# yaml-language-server: $schema=https://goreleaser.com/static/schema.json -# vim: set ts=2 sw=2 tw=0 fo=cnqoj + - "^docs:" + - "^test:"