Skip to content

Commit 60096db

Browse files
authored
Merge pull request #1186 from CircleCI-Public/fix/snapcraft-publish-upgrade
the docker image is not up-to-date with the latest
2 parents eb42c19 + e7c0bc0 commit 60096db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.circleci/config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,11 @@ jobs:
264264
- run:
265265
name: Publish to store
266266
command: |
267-
# Snapcraft 7+ reads credentials from SNAPCRAFT_STORE_CREDENTIALS env var automatically.
268-
# To refresh: run `snapcraft export-login --snaps=circleci --channels=stable -`
267+
# The cibuilds/snapcraft:stable image is archived and has a pre-7 version of snapcraft.
268+
# Upgrade to snapcraft 7+ which reads SNAPCRAFT_STORE_CREDENTIALS env var automatically.
269+
# To refresh credentials: run `snapcraft export-login --snaps=circleci --channels=stable -`
269270
# and store the output as SNAPCRAFT_STORE_CREDENTIALS in CircleCI project settings.
271+
pip3 install --upgrade snapcraft
270272
snapcraft upload *.snap --release stable
271273
272274
chocolatey-deploy:

0 commit comments

Comments
 (0)