From 7f73fd1ff9afd9a78206cb3a34a2a9ec47f59026 Mon Sep 17 00:00:00 2001 From: Kilian SMITI Date: Sat, 4 Mar 2023 00:23:30 +0100 Subject: [PATCH] fix: snapcraft to devel mode --- .github/workflows/release.yml | 1 + .goreleaser.yml | 17 +++++++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4e9421..8cf7bfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,7 @@ permissions: # issues: write env: + # snapcraft export-login --snaps {packageName} --channels edge,edge/* --acls package_access,package_push,package_update,package_release - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.snapcraft_token }} jobs: diff --git a/.goreleaser.yml b/.goreleaser.yml index 276a9f9..62cc3fa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -40,6 +40,8 @@ checksum: snapshot: name_template: "{{ .Tag }}" +# https://snapcraft.io/docs/snapcraft-yaml-reference +# https://goreleaser.com/customization/snapcraft/ snapcrafts: - name: polyrule @@ -48,15 +50,8 @@ snapcrafts: description: Software to compile validator rules into multiple languages. channel_templates: - edge - - beta - - candidate - - stable - - '{{ .Major }}.{{ .Minor }}/edge' - - '{{ .Major }}.{{ .Minor }}/beta' - - '{{ .Major }}.{{ .Minor }}/candidate' - - '{{ .Major }}.{{ .Minor }}/stable' - - grade: stable + - 'edge/{{ .Major }}.{{ .Minor }}' + grade: devel # https://snapcraft.io/docs/reference/confinement confinement: strict license: MIT @@ -64,4 +59,6 @@ snapcrafts: apps: polyrule: command: polyrule - plugs: ["system-files"] \ No newline at end of file + plugs: ["system-files"] + # Bash completion snippet + #completer: drumroll-completion.bash \ No newline at end of file