The Release Process

Code delivery process from develop to master.

start:release - Start release branch

Checkout develop branch:

git checkout develop

Run:

cells start [ --targetBranch release --branchName release/tutorial ]
[14:23:42] Execution contexts: [ recipe, develop ]
[14:23:42] Starting flow: [ start ], steps: [ start, setVersion, push ]
...

If targetBranch parameter is not set Gluon will ask:

? What do you want to start? (Use arrow keys)
  new feature
❯ new release
  new master merger

If branchName parameter is not set, you will be asked for the name you want to give the branch:

? Write the name of the new release (release/ is already appended) tutorial (better without spaces)

The creation of a release branch will change the version of the develop branch. To perform this process Gluon will ask you to choose next release type, to be able to establish the appropriate version.

? Choose next release (Use arrow keys)
  major
  minor
❯ patch

IMPORTANT: During the development process is possible to change the type of release manually anytime if is necessary by changing the version file.

Once the execution is finished check that you are in the branch that you just created:

➜ pisco-git git: (release/tutorial) git branch -l
  develop
* release/tutorial
  master

Conclusions:

finish:release - Delivery code to master

checkout release:

git checkout release/tutorial

Run:

cells finish
[14:24:52] Execution contexts: [ recipe, release ]
[14:24:52] Starting flow: [ finish ], steps: [ merge, validate, setVersion, finish, publish ]
....

Conclusions:

Common Problems:

Solve the tests so they do not give error.