fix v1.x.x deployment

This commit is contained in:
Roman Hotsiy 2016-09-13 01:35:00 +03:00
parent 2da84ec20d
commit 6f16592680
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -19,7 +19,7 @@ cd('..');
var version = 'v' + require(path.join(__dirname, '../package.json')).version + '/'; var version = 'v' + require(path.join(__dirname, '../package.json')).version + '/';
var versionDir = path.join(paths.releases, version); var versionDir = path.join(paths.releases, version);
var latestDir = path.join(paths.releases, 'latest/'); var latestDir = path.join(paths.releases, 'latest/');
var v1Dir = path.join(paths.releases, '1.x.x/'); var v1Dir = path.join(paths.releases, 'v1.x.x/');
mkdir('-p', versionDir) mkdir('-p', versionDir)
mkdir('-p', latestDir); mkdir('-p', latestDir);
mkdir('-p', v1Dir); mkdir('-p', v1Dir);