grunt/tasks/_github.js
function writeGithubActionList(){
        var newVersion,
            tagMessage;

        _console.writelnYellow('**************************************************');
        _console.writelnYellow('ACTIONS:');

        if (grunt.config('build'))
            _console.writelnYellow('- Build/compile the '+(options.isApplication ? 'application' : 'packages'));

        if (grunt.config('newVersion') != 'none') {
            newVersion = semver.inc(options.currentVersion, grunt.config('newVersion'));
            _console.writelnYellow('- Bump \'version: "'+newVersion+'"\' to bower.json and package.json');
        }

        if (grunt.config('commit') == 'commit')
            _console.writelnYellow('- Commit staged changes to a new snapshot. Message="'+grunt.config('commitMessage')+'"');
        else
            _console.writelnYellow('- Amend/combine staged changes with the previous commit');

        if (grunt.config('newVersion') != 'none'){
            tagMessage = grunt.config('tagMessage');
            _console.writelnYellow('- Create new tag="'+newVersion+(tagMessage ? ': '+tagMessage : '') + '"');
        }

        if (options.haveGhPages)
            _console.writelnYellow('- Merge "master" branch into "gh-pages" branch');
        else
            grunt.config.set('release.options.afterRelease', []); //Remove all git merge commands

        if (grunt.config('newVersion') == 'none')
            _console.writelnYellow('- Push all branches to GitHub');
        else
            _console.writelnYellow('- Push all branches and tags to GitHub');
        _console.writelnYellow('**************************************************');
    }
function writeGithubActionList(){
        var newVersion,
            tagMessage;

        _console.writelnYellow('**************************************************');
        _console.writelnYellow('ACTIONS:');

        if (grunt.config('build'))
            _console.writelnYellow('- Build/compile the '+(options.isApplication ? 'application' : 'packages'));

        if (grunt.config('newVersion') != 'none') {
            newVersion = semver.inc(options.currentVersion, grunt.config('newVersion'));
            _console.writelnYellow('- Bump \'version: "'+newVersion+'"\' to bower.json and package.json');
        }

        if (grunt.config('commit') == 'commit')
            _console.writelnYellow('- Commit staged changes to a new snapshot. Message="'+grunt.config('commitMessage')+'"');
        else
            _console.writelnYellow('- Amend/combine staged changes with the previous commit');

        if (grunt.config('newVersion') != 'none'){
            tagMessage = grunt.config('tagMessage');
            _console.writelnYellow('- Create new tag="'+newVersion+(tagMessage ? ': '+tagMessage : '') + '"');
        }

        if (options.haveGhPages)
            _console.writelnYellow('- Merge "master" branch into "gh-pages" branch');
        else
            grunt.config.set('release.options.afterRelease', []); //Remove all git merge commands

        if (grunt.config('newVersion') == 'none')
            _console.writelnYellow('- Push all branches to GitHub');
        else
            _console.writelnYellow('- Push all branches and tags to GitHub');
        _console.writelnYellow('**************************************************');
    }
function writeGithubActionList ( ) { var newVersion , tagMessage ; _console . writelnYellow ( '**************************************************' ) ; _console . writelnYellow ( 'ACTIONS:' ) ; if ( grunt . config ( 'build' ) ) _console . writelnYellow ( '- Build/compile the ' + ( options . isApplication ? 'application' : 'packages' ) ) ; if ( grunt . config ( 'newVersion' ) != 'none' ) { newVersion = semver . inc ( options . currentVersion , grunt . config ( 'newVersion' ) ) ; _console . writelnYellow ( '- Bump \'version: "' + newVersion + '"\' to bower.json and package.json' ) ; } if ( grunt . config ( 'commit' ) == 'commit' ) _console . writelnYellow ( '- Commit staged changes to a new snapshot. Message="' + grunt . config ( 'commitMessage' ) + '"' ) ; else _console . writelnYellow ( '- Amend/combine staged changes with the previous commit' ) ; if ( grunt . config ( 'newVersion' ) != 'none' ) { tagMessage = grunt . config ( 'tagMessage' ) ; _console . writelnYellow ( '- Create new tag="' + newVersion + ( tagMessage ? ': ' + tagMessage : '' ) + '"' ) ; } if ( options . haveGhPages ) _console . writelnYellow ( '- Merge "master" branch into "gh-pages" branch' ) ; else grunt . config . set ( 'release.options.afterRelease' , [ ] ) ; //Remove all git merge commands if ( grunt . config ( 'newVersion' ) == 'none' ) _console . writelnYellow ( '- Push all branches to GitHub' ) ; else _console . writelnYellow ( '- Push all branches and tags to GitHub' ) ; _console . writelnYellow ( '**************************************************' ) ; }
************************************************** writeGithubActionList: write all selected action **************************************************
************************************************** writeGithubActionList : write all selected action **************************************************