Skip to content

Commit

Permalink
Init code (#1)
Browse files Browse the repository at this point in the history
* Adding dist to gitignore

* initial version of gorelease configuration
  • Loading branch information
dbgeek authored Feb 24, 2019
1 parent 21a0bd5 commit a639877
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
35 changes: 35 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
builds:
- binary: elblobcat
goos:
- darwin
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
env:
- CGO_ENANBLED=0
sign:
artifacts: checksum
args: ["-u", "[email protected]", "--output", "${signature}", "--detach-sign", "${artifact}"]

snapshot:
# Allows you to change the name of the generated snapshot
# Default is `SNAPSHOT-{{.ShortCommit}}`.
name_template: SNAPSHOT-{{.Commit}}

checksum:
# You can change the name of the checksums file.
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
name_template: "{{ .ProjectName }}_checksums.txt"

# Algorithm to be used.
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384.
# Default is sha256.
algorithm: sha256

release:
prerelease: auto

0 comments on commit a639877

Please sign in to comment.