grunt-github-remove-all-releases

2018-09-15 admin

grunt-github-remove-all-releases是什么

什么是grunt-github-remove-all-releases,Remove all releases of a GitHub repo

grunt-github-remove-all-releases使用教程帮助文档

NPM version Build Status Dependency Status Coverage Status

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-40334.html

文章标题:grunt-github-remove-all-releases

回到顶部