Skip to content

Commit

Permalink
Do not build binaries for windows (#43)
Browse files Browse the repository at this point in the history
* Added fix go releaser

* Added fix go releaser
  • Loading branch information
goruha authored Apr 22, 2024
1 parent ec4297a commit 7429d1b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --config ./dev.goreleaser.yml --clean --snapshot
args: release --config ./.goreleaser.yml --clean --snapshot

release:
if: github.event_name == 'push'
Expand Down
15 changes: 12 additions & 3 deletions dev.goreleaser.yml → .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,18 @@ checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256

#release:
# If you want to manually examine the release before it is live, uncomment this line:
# draft: true
## Copied from https://github.com/cloudposse/.github/blob/main/.github/goreleaser.yml
## Required to correct working go auto release workflow
## ----- DO NOT CHANGE ----- ##
release:
draft: true
replace_existing_draft: true
replace_existing_artifacts: true
mode: keep-existing
make_latest: false
name_template: 'v{{.Tag}}'
target_commitish: "{{ .Branch }}"
## ----- DO NOT CHANGE ----- ##

changelog:
skip: true

0 comments on commit 7429d1b

Please sign in to comment.