From a528e44d9b8a17d9b7cb11fb0c9980a6a2aad6ea Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Tue, 8 Dec 2015 18:59:02 -0500 Subject: [PATCH] @gkatsev updated grunt-release config. closes #2900 --- CHANGELOG.md | 2 +- build/grunt.js | 30 +++++++++++++++++++----------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b59c688e9..0ee9a387d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ CHANGELOG ========= ## HEAD (Unreleased) -_(none)_ +* @gkatsev updated grunt-release config ([view](https://github.com/videojs/video.js/pull/2900)) -------------------- diff --git a/build/grunt.js b/build/grunt.js index b3f639849..75d0e40ed 100644 --- a/build/grunt.js +++ b/build/grunt.js @@ -294,17 +294,25 @@ module.exports = function(grunt) { auth: { user: process.env.VJS_GITHUB_USER, password: process.env.VJS_GITHUB_TOKEN - }, - release: { - tag_name: 'v'+ version.full, - name: version.full, - body: require('chg').find(version.full).changesRaw - }, - prerelease: { - tag_name: 'v'+ version.full, - name: version.full, - body: require('chg').find(version.full).changesRaw, - prerelease: true + } + }, + release: { + options: { + release: { + tag_name: 'v'+ version.full, + name: version.full, + body: require('chg').find(version.full).changesRaw + } + } + }, + prerelease: { + options: { + release: { + tag_name: 'v'+ version.full, + name: version.full, + body: require('chg').find(version.full).changesRaw, + prerelease: true + } } }, files: {