File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,12 +264,11 @@ jobs:
264264 - run :
265265 name : Publish to store
266266 command : |
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 -`
270- # and store the output as SNAPCRAFT_STORE_CREDENTIALS in CircleCI project settings.
271- pip3 install --upgrade snapcraft
272- snapcraft upload *.snap --release stable
267+ # Credentials are read from the SNAPCRAFT_LOGIN_FILE env var (base64-encoded).
268+ # To refresh: run `snapcraft login` and `snapcraft export-login creds`
269+ # inside cibuilds/snapcraft:stable, then `cat creds | base64 | tr -d '\n'`
270+ # and store the output as SNAPCRAFT_LOGIN_FILE in CircleCI project settings.
271+ snapcraft push *.snap --release stable
273272
274273 chocolatey-deploy :
275274 executor : windows/default
You can’t perform that action at this time.
0 commit comments