From e1c1ea0958d944ee2befb991fb1379dc20c9237d Mon Sep 17 00:00:00 2001 From: kyoh86 Date: Wed, 16 Nov 2022 21:46:50 +0900 Subject: [PATCH] release packages for linux --- .goreleaser.yml | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e3c2914..926237b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,26 +1,39 @@ -brews: - - install: | - bin.install "looppointer" - tap: - owner: kyoh86 - name: homebrew-tap - folder: Formula - homepage: https://github.com/kyoh86/looppointer - description: An analyzer that checks for pointers to enclosing loop variables. +# yaml-language-server: $schema=https://goreleaser.com/static/schema.json + +project_name: looppointer builds: - - goos: + - id: default + goos: - linux - darwin - windows goarch: - amd64 - - arm - arm64 - "386" main: ./cmd/looppointer - hooks: - post: - - go get github.com/kyoh86/git-vertag + binary: looppointer +brews: + - install: | + bin.install "looppointer" + tap: + owner: kyoh86 + name: homebrew-tap + folder: Formula + homepage: https://github.com/kyoh86/looppointer + description: An analyzer that checks for pointers to enclosing loop variables. + license: MIT +nfpms: + - builds: + - default + maintainer: kyoh86 + homepage: https://github.com/kyoh86/looppointer + description: An analyzer that checks for pointers to enclosing loop variables. + license: MIT + formats: + - apk + - deb + - rpm archives: - id: gzip format: tar.gz