Skip to content
Permalink
Browse files

Add goreleaser config

  • Loading branch information...
mugli committed Aug 10, 2019
1 parent 37a1f25 commit 2031edad5881ae2e0f76ce68e71e11961c2c6e37
Showing with 41 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +27 −0 .goreleaser.yml
  3. +6 −0 build.sh
  4. +5 −0 release.sh
@@ -1,3 +1,6 @@
/.DS_Store
/__test.toml
/go-kill-mysql-query
/__local.toml
/dist
/kill-mysql-query
@@ -0,0 +1,27 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: kill-mysql-query
before:
hooks:
# you may remove this if you don't use vgo
- go mod download
builds:
- env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: '{{ .Tag }}-next'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
@@ -0,0 +1,6 @@
#!/bin/bash

export GOPROXY=https://gocenter.io

go mod download
go build kill-mysql-query
@@ -0,0 +1,5 @@
#!/bin/bash

export GOPROXY=https://gocenter.io

goreleaser release --rm-dist

0 comments on commit 2031eda

Please sign in to comment.
You can’t perform that action at this time.