This commit is contained in:
iyear 2020-04-04 15:06:59 +08:00
parent 0ed3174978
commit 131b4cb195
3 changed files with 2 additions and 37 deletions

3
.gitignore vendored
View File

@ -17,6 +17,7 @@ config.yml
#Database
*.db
#Goreleaser
/dist
#Logs
/log

View File

@ -1,35 +0,0 @@
project_name: E5SubBot
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
archive:
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: 32bit
amd64: 64bit
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

1
go.mod
View File

@ -5,7 +5,6 @@ go 1.13
require (
github.com/fsnotify/fsnotify v1.4.7
github.com/go-sql-driver/mysql v1.5.0
github.com/goreleaser/goreleaser v0.129.0 // indirect
github.com/mitchellh/gox v1.0.1 // indirect
github.com/robfig/cron/v3 v3.0.0
github.com/spf13/viper v1.6.2