From 92d437fb1b9638b02c43b7e9f1c44bf2c835d109 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Wed, 13 Nov 2024 15:08:24 +0100 Subject: [PATCH] chore: restore snap packaging (#2348) --- .goreleaser.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 6eada272a4..f7bf9ed657 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -144,31 +144,29 @@ dockers: - '--label=org.opencontainers.image.version={{.Version}}' - '--platform=linux/arm/v7' -# Disabled because https://github.com/go-acme/lego/pull/2134#issuecomment-2135293270 snapcrafts: - name: lego - disable: true + disable: false + publish: true grade: stable confinement: strict license: MIT base: core22 - publish: true summary: Lego is a Let's Encrypt/ACME client. description: | Lego is a Let's Encrypt/ACME client written in Go. - + The lego snap makes it easy to install and use Lego on any Linux distribution that supports snaps. - + Usage: * `sudo snap install lego` * `sudo lego --email="you@example.com" --domains="example.com" --server=https://acme-staging-v02.api.letsencrypt.org/directory --http --http.port :8080 run - channel_templates: - edge apps: lego: - command: bin/lego + command: lego environment: LEGO_PATH: /var/snap/lego/common/.lego plugs: