Skip to content

Commit

Permalink
Preparation goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
owlinux1000 committed May 15, 2022
1 parent b04335d commit 7c0820d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

dist/
26 changes: 26 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
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:'
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ LABEL maintainer="Chihiro Hasegawa <[email protected]>"

RUN go install -v golang.org/x/tools/gopls@latest && \
go install -v github.com/ramya-rao-a/go-outline@latest &&\
go install -v golang.org/x/tools/cmd/goimports@latest
go install -v golang.org/x/tools/cmd/goimports@latest &&\
go install github.com/goreleaser/goreleaser@latest

ENTRYPOINT ["/bin/bash"]

0 comments on commit 7c0820d

Please sign in to comment.