Skip to content

Commit

Permalink
Merge pull request #3 from pinzolo/goreleaser
Browse files Browse the repository at this point in the history
Use goreleaser
  • Loading branch information
pinzolo authored Mar 2, 2022
2 parents fa22aef + b783246 commit 6e9bf3c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
.glide/
pkg

dist/
32 changes: 32 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
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
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ $ go get github.com/pinzolo/spwd

## Changelog

* 2021-03-02 JST v1.2.0 Add go.mod.
* 2021-03-02 JST v1.3.0 Add go.mod.
* 2017-11-06 JST v1.2.0 Add master password feature.
* 2017-09-30 JST v1.1.0 Add `search` subcommand.
* 2017-09-29 JST v1.0.1 Add `version` subcommand.
Expand Down

0 comments on commit 6e9bf3c

Please sign in to comment.