From a2382a46f077962f331edb824c2976254b369e0c Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Wed, 31 Jan 2018 18:00:12 -0800 Subject: [PATCH] Note the minimum snapcraft version for export-login --- src/publishers/snapcraft.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/publishers/snapcraft.js b/src/publishers/snapcraft.js index fbbc471ad..49ccf4153 100644 --- a/src/publishers/snapcraft.js +++ b/src/publishers/snapcraft.js @@ -18,7 +18,7 @@ export default async ({ dir, artifacts, forgeConfig }) => { const snapcraftCfgPath = path.join(dir, '.snapcraft', 'snapcraft.cfg'); if (!await fs.pathExists(snapcraftCfgPath)) { - throw `Snapcraft credentials not found at "${snapcraftCfgPath}". It can be generated with the command "snapcraft export-login".`; + throw `Snapcraft credentials not found at "${snapcraftCfgPath}". It can be generated with the command "snapcraft export-login" (snapcraft 2.37 and above).`; } await asyncOra('Pushing snap to the snap store', async () => {