1
0
mirror of https://github.com/go-acme/lego.git synced 2024-11-21 13:25:48 +02:00

chore: publish aur lego-bin (#2356)

This commit is contained in:
Ludovic Fernandez 2024-11-21 00:17:36 +01:00 committed by GitHub
parent a628db57d9
commit 8ed8207007
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 23 additions and 1 deletions

View File

@ -71,3 +71,4 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
AUR_KEY: ${{ secrets.AUR_KEY }}

View File

@ -163,7 +163,6 @@ snapcrafts:
* `sudo lego --email="you@example.com" --domains="example.com" --server=https://acme-staging-v02.api.letsencrypt.org/directory --http --http.port :8080 run * `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: channel_templates:
- edge - edge
apps: apps:
lego: lego:
command: lego command: lego
@ -171,3 +170,25 @@ snapcrafts:
LEGO_PATH: /var/snap/lego/common/.lego LEGO_PATH: /var/snap/lego/common/.lego
plugs: plugs:
- network-bind - network-bind
aurs:
- description: "Let's Encrypt client and ACME library written in Go"
skip_upload: false
homepage: https://go-acme.github.io/lego/
name: 'lego-bin'
provides:
- lego
maintainers:
- "Fernandez Ludovic <lfernandez dot dev at gmail dot com>"
license: APACHE
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://aur@aur.archlinux.org/lego-bin.git"
commit_author:
name: ldez
email: ldez@users.noreply.github.com
package: |-
# Bin
install -Dm755 "./prm" "${pkgdir}/usr/bin/lego"
# License
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/lego/LICENSE"