mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-27 11:03:43 +03:00
13 lines
364 B
JavaScript
13 lines
364 B
JavaScript
|
var gulp = require('gulp');
|
||
|
var release = require('gulp-github-release');
|
||
|
var path = require('path');
|
||
|
var paths = require('../paths');
|
||
|
|
||
|
gulp.task('github-release', ['build'], function(){
|
||
|
gulp.src(paths.redocBuilt + '.min.js')
|
||
|
.pipe(release({
|
||
|
token: process.env.GH_TOKEN,
|
||
|
manifest: require(path.join(__dirname, '../../package.json'))
|
||
|
}));
|
||
|
});
|