Skip to content

Commit eb42c19

Browse files
authored
Merge pull request #1185 from CircleCI-Public/fix/snapcraft-credentials
update command instructions to use `SNAPCRAFT_STORE_CREDENTIALS`
2 parents 8bfdad9 + f9da277 commit eb42c19

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,10 @@ jobs:
264264
- run:
265265
name: Publish to store
266266
command: |
267-
# See https://circleci.atlassian.net/wiki/spaces/DE/pages/6780420117/Change+the+snapcraft+credentials
268-
# for details on how to update the credentials for the snapcraft store.
269-
snapcraft push *.snap --release stable
267+
# Snapcraft 7+ reads credentials from SNAPCRAFT_STORE_CREDENTIALS env var automatically.
268+
# To refresh: run `snapcraft export-login --snaps=circleci --channels=stable -`
269+
# and store the output as SNAPCRAFT_STORE_CREDENTIALS in CircleCI project settings.
270+
snapcraft upload *.snap --release stable
270271
271272
chocolatey-deploy:
272273
executor: windows/default

0 commit comments

Comments
 (0)