This commit is contained in:
Niko Storni 2019-06-26 03:37:52 +02:00
parent 4506bdb638
commit 9e49110295
6 changed files with 105 additions and 1 deletions

5
dist/CHANGELOG.md vendored Normal file
View file

@ -0,0 +1,5 @@
## Changelog
a8551bc fix UTXO waiting logic
4506bdb fix bug in utxo counting
b5c9806 improve space management

1
dist/checksums.txt vendored Normal file
View file

@ -0,0 +1 @@
752251a8bf18dcdbc15c6c9180466b35c1bc5d589f4600d8045b3d81f81daa84 ytsync_Linux_x86_64.zip

98
dist/config.yaml vendored Normal file
View file

@ -0,0 +1,98 @@
project_name: ytsync
release:
github:
owner: lbryio
name: ytsync
name_template: '{{.Tag}}'
brews:
- name: ytsync
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
scoop:
name: ytsync
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
url_template: https://github.com/lbryio/ytsync/releases/download/{{ .Tag }}/{{ .ArtifactName
}}
builds:
- id: ytsync
goos:
- linux
goarch:
- amd64
goarm:
- "6"
targets:
- linux_amd64
main: .
ldflags:
- -X "{{ .Env.IMPORTPATH }}/meta.semVersion={{ .Tag }}" -X "{{ .Env.IMPORTPATH }}/meta.version={{
.Env.VERSIONSHORT }}" -X "{{ .Env.IMPORTPATH }}/meta.versionLong={{ .Env.VERSIONLONG
}}" -X "{{ .Env.IMPORTPATH }}/meta.commitMsg={{ .Env.COMMITMSG }}"
binary: ytsync
env:
- CGO_ENABLED=0
lang: go
archive:
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
replacements:
amd64: x86_64
linux: Linux
format: zip
archives:
- id: default
builds:
- ytsync
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
replacements:
amd64: x86_64
linux: Linux
format: zip
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
nfpms:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
id: default
builds:
- ytsync
bindir: /usr/local/bin
snapcrafts:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
builds:
- ytsync
snapshot:
name_template: '{{ .Tag }}-next'
checksum:
name_template: checksums.txt
algorithm: sha256
changelog:
filters:
exclude:
- '^docs:'
- '^test:'
sort: asc
dist: dist
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none
env_files:
github_token: ~/.config/goreleaser/github_token
github_urls:
download: https://github.com

BIN
dist/ytsync_Linux_x86_64.zip vendored Normal file

Binary file not shown.

BIN
dist/ytsync_linux_amd64/ytsync vendored Executable file

Binary file not shown.

2
go.sum
View file

@ -115,7 +115,7 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/lbryio/errors.go v0.0.0-20180223142025-ad03d3cc6a5c h1:BhdcWGsuKif/XoSZnqVGNqJ1iEmH0czWR5upj+AuR8M=
github.com/lbryio/errors.go v0.0.0-20180223142025-ad03d3cc6a5c/go.mod h1:muH7wpUqE8hRA3OrYYosw9+Sl681BF9cwcjzE+OCNK8=
github.com/lbryio/lbry.go v1.0.15 h1:vp4pkcM4jGDaPF0aPtLCvOBfe1ajogtyJPjkMUzLWsU=
github.com/lbryio/lbry.go v1.0.15 h1:g4g9cDDUsobmWgTA+1jEIb5k2fRCP0/NvPOMXduP8xY=
github.com/lbryio/lbry.go v1.0.15/go.mod h1:JtyI30bU51rm0LZ/po3mQuzf++14OWb6kR/6mMRAmKU=
github.com/lbryio/lbryschema.go v0.0.0-20190428231007-c54836bca002 h1:urfYK5ElpUrAv90auPLldoVC60LwiGAcY0OE6HJB9KI=
github.com/lbryio/lbryschema.go v0.0.0-20190428231007-c54836bca002/go.mod h1:dAzPCBj3CKKWBGYBZxK6tKBP5SCgY2tqd9SnQd/OyKo=