Skip to content

Commit

Permalink
fix: snapcraft to devel mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ermos committed Mar 3, 2023
1 parent de40dd0 commit 7f73fd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
17 changes: 7 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ checksum:
snapshot:
name_template: "{{ .Tag }}"

# https://snapcraft.io/docs/snapcraft-yaml-reference
# https://goreleaser.com/customization/snapcraft/
snapcrafts:
-
name: polyrule
Expand All @@ -48,20 +50,15 @@ 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
base: core18
apps:
polyrule:
command: polyrule
plugs: ["system-files"]
plugs: ["system-files"]
# Bash completion snippet
#completer: drumroll-completion.bash

0 comments on commit 7f73fd1

Please sign in to comment.