Skip to content

Commit 92d437f

Browse files
authored
chore: restore snap packaging (#2348)
1 parent 062e355 commit 92d437f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.goreleaser.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,31 +144,29 @@ dockers:
144144
- '--label=org.opencontainers.image.version={{.Version}}'
145145
- '--platform=linux/arm/v7'
146146

147-
# Disabled because https://github.com/go-acme/lego/pull/2134#issuecomment-2135293270
148147
snapcrafts:
149148
- name: lego
150-
disable: true
149+
disable: false
150+
publish: true
151151
grade: stable
152152
confinement: strict
153153
license: MIT
154154
base: core22
155-
publish: true
156155
summary: Lego is a Let's Encrypt/ACME client.
157156
description: |
158157
Lego is a Let's Encrypt/ACME client written in Go.
159-
158+
160159
The lego snap makes it easy to install and use Lego on any Linux distribution that supports snaps.
161-
160+
162161
Usage:
163162
* `sudo snap install lego`
164163
* `sudo lego --email="you@example.com" --domains="example.com" --server=https://acme-staging-v02.api.letsencrypt.org/directory --http --http.port :8080 run
165-
166164
channel_templates:
167165
- edge
168166

169167
apps:
170168
lego:
171-
command: bin/lego
169+
command: lego
172170
environment:
173171
LEGO_PATH: /var/snap/lego/common/.lego
174172
plugs:

0 commit comments

Comments
 (0)