grunt-github-remove-all-releases

Remove all releases of a GitHub repo

Remove all releases of a GitHub repo using github-remove-all-releases

Issues with the output should be reported on the github-remove-all-releases issue tracker.

Install

$ npm install --save-dev grunt-github-remove-all-releases

Usage

grunt.loadNpmTasks('grunt-github-remove-all-releases');

grunt.initConfig({
  githubRemoveAllReleases: {
    all: {
      options: {
        auth: {
          type: 'oauth',
          token: process.env.GRUNT_GITHUB_REMOVE_ALL_RELEASES_TOKEN
        },
        owner: 'stevemaotest',
        repo: 'grunt-github-remove-all-releases-test',
        filter: function() {
          return true;
        }
      }
    }
  }
});

grunt.registerTask('default', ['githubRemoveAllReleases']);

API

See the github-remove-all-releases docs.

License

MIT

Repository

stevemao/grunt-github-remove-all-releases