From 8bf2d2768ce3eab9f9e991961c42996490f2cf2a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 20 May 2020 15:31:35 -0400 Subject: [PATCH] Update goreleaser syntax --- .goreleaser.yml | 92 ++++++++++++++++++++++++++----------------------- 1 file changed, 48 insertions(+), 44 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b5115a2..1e114de 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,52 +19,56 @@ builds: - arm - arm64 binary: "share" -archive: - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 - format_overrides: - - goos: windows - format: zip -brew: - github: - owner: mschneider82 - name: sharecmd - folder: Formula - homepage: https://github.com/mschneider82/sharecmd - description: Share your files using Cloudproviders with just one command - test: | - system "#{bin}/share --help" -nfpm: - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - homepage: https://github.com/mschneider82/sharecmd - description: Share your files with your friends using Cloudproviders with just one command. - maintainer: Matthias Schneider - license: Apache - formats: - - deb - - rpm +archives: + - id: multi + replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 + format_overrides: + - goos: windows + format: zip +brews: + - + github: + owner: mschneider82 + name: sharecmd + folder: Formula + homepage: https://github.com/mschneider82/sharecmd + description: Share your files using Cloudproviders with just one command + test: | + system "#{bin}/share --help" +nfpms: + - + file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + homepage: https://github.com/mschneider82/sharecmd + description: Share your files with your friends using Cloudproviders with just one command. + maintainer: Matthias Schneider + license: Apache + formats: + - deb + - rpm checksum: name_template: 'checksums.txt' -snapcraft: - name_template: 'share_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - summary: Share your files using Cloudproviders with just one command - description: | - Share uploads the file to the configured cloud provider and does a - public share of the file for anyone who has the link. The link will be - copyed to system clipboard (windows/linux/macos) - https://github.com/mschneider82/sharecmd - grade: stable - confinement: strict - publish: false - #true - name: share - apps: - share: - plugs: ["home", "network", "x11"] +snapcrafts: + - + name_template: 'share_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + summary: Share your files using Cloudproviders with just one command + description: | + Share uploads the file to the configured cloud provider and does a + public share of the file for anyone who has the link. The link will be + copyed to system clipboard (windows/linux/macos) + https://github.com/mschneider82/sharecmd + grade: stable + confinement: strict + publish: false + #true + name: share + apps: + share: + plugs: ["home", "network", "x11"] changelog: sort: asc filters: