rsd-gulptasks-release

1.0.3 • Public • Published

Rockstar Release Helper

Description:

This little task does these things for you:

  • bump the version (patch(default) | minor | major) in package.json
  • commit/push the version bump
  • create/push a new tag with the release number
  • trigger the build job of the project
  • replace all occurences of ###VERSIONNUMBER### in your dist folder
  • create a zip named with the version number in your distfolder e.g. dist/release/release_v1.2.3.zip

##Usage: A new Release can be triggered with gulp rsd:release you can add options like so to trigger minor and major releases (defaults to --patch): gulp rsd:release --minor
gulp rsd:release --major

##Configuration: you need to specify the following information in your packagejson:

"release": {
	"branch": "develop",
	"distFolder": "./dist",
	"buildTask": "build",
	"remote": "origin"
}
  • branch is the branch you want to deploy, this should allways be the same (will add better config soon)
  • distFolder this is the folder where the result of the build task of your project will end up
  • buildTask the gulp task name of the build task you want to execute for a release build
  • remote the remote you want to push to, this should be origin as the jenkins will use origin as remote name for the repo

Readme

Keywords

none

Package Sidebar

Install

npm i rsd-gulptasks-release

Weekly Downloads

0

Version

1.0.3

License

ISC

Last publish

Collaborators

  • torbenberger