Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Update dep bump-regex for xml content support
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlacy committed Jan 26, 2017
1 parent d02715f commit d18e56e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions examples/file.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<project>
<name>project</name>
<packaging>electron</packaging>
<version>1.0.0</version>
</project>
6 changes: 6 additions & 0 deletions examples/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ gulp.task('version', function(){
.pipe(gulp.dest('./version'));
});

gulp.task('xml', function(){
gulp.src('./file.xml')
.pipe(bump())
.pipe(gulp.dest('./build'));
});

gulp.task('key', function(){
gulp.src('./key.json')
.pipe(bump({key: 'appversion'}))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Steve Lacy <[email protected]> (http://slacy.me)",
"main": "./index.js",
"dependencies": {
"bump-regex": "^2.5.2",
"bump-regex": "^2.6.0",
"plugin-error": "^0.1.2",
"plugin-log": "^0.1.0",
"semver": "^5.3.0",
Expand Down

0 comments on commit d18e56e

Please sign in to comment.