mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
Creating CDN major release 1.x.x (#87)
This commit is contained in:
parent
34db52cd91
commit
e6efe35595
|
@ -19,7 +19,10 @@ cd('..');
|
|||
var version = 'v' + require(path.join(__dirname, '../package.json')).version + '/';
|
||||
var versionDir = path.join(paths.releases, version);
|
||||
var latestDir = path.join(paths.releases, 'latest/');
|
||||
var v1Dir = path.join(paths.releases, '1.x.x/');
|
||||
mkdir('-p', versionDir)
|
||||
mkdir('-p', latestDir);
|
||||
mkdir('-p', v1Dir);
|
||||
cp(paths.redocBuilt + '.min.js', versionDir);
|
||||
cp(paths.redocBuilt + '.min.js', latestDir);
|
||||
cp(paths.redocBuilt + '.min.js', v1Dir);
|
||||
|
|
Loading…
Reference in New Issue
Block a user