Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankwallis/gulp-bintray
gulp task to upload to bintray
https://github.com/frankwallis/gulp-bintray
Last synced: 20 days ago
JSON representation
gulp task to upload to bintray
- Host: GitHub
- URL: https://github.com/frankwallis/gulp-bintray
- Owner: frankwallis
- License: mit
- Created: 2014-03-08T19:26:18.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-12T18:41:49.000Z (over 10 years ago)
- Last Synced: 2024-04-25T11:02:16.978Z (9 months ago)
- Language: TypeScript
- Size: 402 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gulp-bintray
============A gulp task for uploading files to Bintray
example usage:
```javascript
var gulp = require('gulp');
var zip = require('gulp-zip');
var bintray = require('gulp-bintray');
var clean = require('gulp-clean');
var bump = require('gulp-bump');var bintrayopts = {
username: 'bintrayuser',
organization: 'bintrayorgs'; // default: username
repository: 'gulp-plugins',
pkg: {
name: 'bintraypackage',
version: null; // default: package.version
desc: null; // default: 'Automatically created gulp-bintray package'
licenses?: null; // default: ['MIT']
}apikey: '99999999999999999999999999999999999',
baseUrl: null; // default: Bintray.apiBaseUrl
};gulp.task('bump', function() {
return gulp.src('./package.json')
.pipe(bump({type:'minor'}))
.pipe(gulp.dest('./'));
});gulp.task('bintray', ['bump'], function() {
return gulp.src([ '**/*.*', '!node_modules/**' ])
.pipe(zip('archive.zip'))
.pipe(gulp.dest('.'))
.pipe(bintray(bintrayopts))
.pipe(clean())
});gulp.task('release', ['bump', 'bintray' ], function() {
console.log('Released minor version ' + require('./package.json').version);
});```
Credits:
========- Shay Yaakov
- https://github.com/shayke/grunt-bintray-deploy
- https://github.com/h2non/node-bintray