Skip to content

Commit

Permalink
build: snap publish fails on permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dosco committed Feb 20, 2021
1 parent 6fc1ef6 commit ca99473
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Make sure to check the documentation at http://goreleaser.com

# Snapcraft credentials
# snapcraft export-login --snaps=graphjin --channels=stable --acls=package_access,package_push,package_update,package_release credential

# GPG Key
# gpg --armor --export-secret-key <email> | pbcop

before:
hooks:
- go mod download
Expand Down Expand Up @@ -76,10 +83,14 @@ snapcrafts:
summary: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler"
description: |
GraphJin gives you a high performance GraphQL API without you having to write any code. GraphQL is automagically compiled into an efficient SQL query. Use it either as a library or a standalone service.
replacements:
darwin: macOS
amd64: x86_64
apps:
graphjin:
plugs: ["home", "network", "network-bind"]
grade: stable
confinement: classic
confinement: strict
publish: true
license: Apache-2.0
replacements:
darwin: macOS
amd64: x86_64
base: core18

0 comments on commit ca99473

Please sign in to comment.