Note the minimum snapcraft version for export-login

This commit is contained in:
Mark Lee 2018-01-31 18:00:12 -08:00 коммит произвёл Mark Lee
Родитель 1232c5eae3
Коммит a2382a46f0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 () => {