From dd05492bbbb988ed4b6ece356826b73761d7d476 Mon Sep 17 00:00:00 2001 From: Nick Z <2420177+nickzelei@users.noreply.github.com> Date: Mon, 5 Jun 2023 18:53:39 -0700 Subject: [PATCH 1/3] adding aur support --- .goreleaser.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 5f1598e..abe7316 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -51,6 +51,26 @@ archives: - goos: windows format: zip +aurs: + - + homepage: https://nucleuscloud.com + description: CLI for interfacing with Nucleus + maintainers: + - Devops + license: Apache-2.0 + git_url: ssh://aur@aur.archlinux.org/nucleus-bin.git + package: |- + # bin + install -Dm755 "./nucleus" "${pkgdir}/usr/bin/nucleus" + + # license + install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/nucleus/LICENSE" + commit_author: + name: goreleaserbot + email: bot@goreleaser.com + private_key: '{{ .Env.AUR_KEY }}' + + dockers: - image_templates: - "ghcr.io/nucleuscloud/cli:{{ .Version }}-amd64" From 9d720434cde72e8f3e62e15090a86a6bbaf96018 Mon Sep 17 00:00:00 2001 From: Nick Z <2420177+nickzelei@users.noreply.github.com> Date: Mon, 5 Jun 2023 18:54:55 -0700 Subject: [PATCH 2/3] updates commit author --- .goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index abe7316..8ad85a7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -66,8 +66,8 @@ aurs: # license install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/nucleus/LICENSE" commit_author: - name: goreleaserbot - email: bot@goreleaser.com + name: nucleusbot + email: devops@nucleuscloud.com private_key: '{{ .Env.AUR_KEY }}' From 7b60fdbf16f2a8d459d77d856c731eb267105912 Mon Sep 17 00:00:00 2001 From: Nick Z <2420177+nickzelei@users.noreply.github.com> Date: Mon, 5 Jun 2023 18:55:40 -0700 Subject: [PATCH 3/3] removes double space --- .goreleaser.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8ad85a7..bba949a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -70,7 +70,6 @@ aurs: email: devops@nucleuscloud.com private_key: '{{ .Env.AUR_KEY }}' - dockers: - image_templates: - "ghcr.io/nucleuscloud/cli:{{ .Version }}-amd64"