Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#IDE
.idea
*.iml

# Logs
logs
*.log
Expand Down
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ Create a `gulpfile.js` in your project with:
```js
// add to gulpfile.js
var gulp = require('gulp');
// pass along gulp reference to have tasks imported
require('gulp-release-flows')(gulp);

// pass along an *optional* config, if needed
require('gulp-release-flows')({
sources: ['./bower.json', './package.json'],
branch: 'master',
bump: 'patch',
message: 'Release %VERSION%',
tag: null // The new version number. If null or not specified, will be retrieved from './package.json'.
});
```

To see all imported tasks, run:
Expand All @@ -42,3 +49,7 @@ This will bump the `patch` version, minor / major can be bumped by the following
Or

`gulp build:release --bump major`

You can also bump to a specific release version using the following command:

`gulp build:release --tag 0.1.0-beta.3`
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = function(gulp){
require(__dirname + '/tasks/release')(gulp)
module.exports = function(config){
require(__dirname + '/tasks/release')(config)
};
Loading