diff --git a/dist/CHANGELOG.md b/dist/CHANGELOG.md new file mode 100644 index 0000000..712cf32 --- /dev/null +++ b/dist/CHANGELOG.md @@ -0,0 +1,5 @@ +## Changelog + +a8551bc fix UTXO waiting logic +4506bdb fix bug in utxo counting +b5c9806 improve space management diff --git a/dist/checksums.txt b/dist/checksums.txt new file mode 100644 index 0000000..6853673 --- /dev/null +++ b/dist/checksums.txt @@ -0,0 +1 @@ +752251a8bf18dcdbc15c6c9180466b35c1bc5d589f4600d8045b3d81f81daa84 ytsync_Linux_x86_64.zip diff --git a/dist/config.yaml b/dist/config.yaml new file mode 100644 index 0000000..84b1dbb --- /dev/null +++ b/dist/config.yaml @@ -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 diff --git a/dist/ytsync_Linux_x86_64.zip b/dist/ytsync_Linux_x86_64.zip new file mode 100644 index 0000000..70070f5 Binary files /dev/null and b/dist/ytsync_Linux_x86_64.zip differ diff --git a/dist/ytsync_linux_amd64/ytsync b/dist/ytsync_linux_amd64/ytsync new file mode 100755 index 0000000..e80558a Binary files /dev/null and b/dist/ytsync_linux_amd64/ytsync differ diff --git a/go.sum b/go.sum index 9e0805f..620ee8c 100644 --- a/go.sum +++ b/go.sum @@ -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=