# rsd-gulptasks-release

> Gulp tasks to bump version, create commit, push tag, trigger build, replace versionnumber in dist, create zip folder

Latest version **1.0.3** (published 2017-05-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install rsd-gulptasks-release
pnpm add rsd-gulptasks-release
yarn add rsd-gulptasks-release
bun add rsd-gulptasks-release
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-05-29 |
| First published | 2017-05-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Torben Berger \| torben@rockstardevelopers.de |
| Maintainers | torbenberger |

## Links

- npm: https://www.npmjs.com/package/rsd-gulptasks-release
- npm.io page: https://npm.io/package/rsd-gulptasks-release

## Dependencies (7)

- [del](https://npm.io/package/del.md) ^2.2.2
- [gulp](https://npm.io/package/gulp.md) ^3.9.1
- [gulp-git](https://npm.io/package/gulp-git.md) ^2.3.0
- [gulp-zip](https://npm.io/package/gulp-zip.md) ^4.0.0
- [gulp-bump](https://npm.io/package/gulp-bump.md) ^2.7.0
- [gulp-replace](https://npm.io/package/gulp-replace.md) ^0.5.4
- [run-sequence](https://npm.io/package/run-sequence.md) ^1.2.2

## Recent versions

- 1.0.3 (latest) — 2017-05-29
- 1.0.2 — 2017-05-29
- 1.0.1 — 2017-05-26
- 1.0.0 — 2017-05-26

## README

# 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` <br>
 `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

---
_Source: https://npm.io/package/rsd-gulptasks-release · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
