mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 10:03:45 +03:00
parent
71752aea02
commit
87de7d7180
|
@ -16,10 +16,10 @@ mkdir('-p', 'dist');
|
|||
cp('-R', '../dist/*', './dist/');
|
||||
cd('..');
|
||||
|
||||
var version = 'v' + require(path.join(__dirname, '../package.json')).version + '/';
|
||||
var versionDir = path.join(paths.releases, version);
|
||||
var version = require(path.join(__dirname, '../package.json')).version;
|
||||
var versionDir = path.join(paths.releases, 'v' + version + '/');
|
||||
var latestDir = path.join(paths.releases, 'latest/');
|
||||
var v1Dir = path.join(paths.releases, 'v1.x.x/');
|
||||
var v1Dir = path.join(paths.releases, 'v' + version.split('.')[0] + '.x.x/');
|
||||
mkdir('-p', versionDir)
|
||||
mkdir('-p', latestDir);
|
||||
mkdir('-p', v1Dir);
|
||||
|
|
Loading…
Reference in New Issue
Block a user