From 87a6369a76de478fd0038fde392adcd346981032 Mon Sep 17 00:00:00 2001 From: jamesread Date: Tue, 25 May 2021 10:26:19 +0100 Subject: [PATCH] Initial try of goreleaser --- .goreleaser.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..1b31207 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,45 @@ +project_name: OliveTin +before: + hooks: + - go mod tidy + - make grpc +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - amd64 + - armhf +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' + +dockers: + - dockerfile: Dockerfile + +nfpms: + - maintainer: James Read + description: OliveTin is a web interface for running Linux shell commands. + homepage: https://github.com/jamesread/OliveTin + license: AGPL-3.0 + formats: + - deb + - rpm + - apk