Skip to content

Commit d72a81c

Browse files
authored
Merge pull request #1188 from CircleCI-Public/fix/snapcraft-credentials-file
bring back manually decoding `SNAPCRAFT_LOGIN_FILE`
2 parents b1a0c8b + 073ad88 commit d72a81c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ jobs:
268268
# To refresh: run `snapcraft login` and `snapcraft export-login creds`
269269
# inside cibuilds/snapcraft:stable, then `cat creds | base64 | tr -d '\n'`
270270
# and store the output as SNAPCRAFT_LOGIN_FILE in CircleCI project settings.
271+
mkdir -p .snapcraft
272+
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
271273
snapcraft push *.snap --release stable
272274
273275
chocolatey-deploy:

0 commit comments

Comments
 (0)