Skip to content

Commit

Permalink
update release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszgasior committed Jun 23, 2024
1 parent 1ce8cd9 commit fff16b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ before:
builds:
- env:
- CGO_ENABLED=0
binary: git-remove-branches
goos:
- linux
- windows
Expand All @@ -16,7 +17,7 @@ builds:
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{ .ProjectName }}_{{ .Tag }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ Just run:
go build -o git-remove-branches . && mv git-remove-branches $GOPATH/bin/
```

## How to run goreleaser locally

```sh
goreleaser release --snapshot --clean
```

## Contributing

If you find any issues or have suggestions for improvements, please open an issue or create a pull request on the GitHub repository.
Expand Down

0 comments on commit fff16b0

Please sign in to comment.