startCmd

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2016 License: MIT Imports: 11 Imported by: 0

README

release start

Create a new release branch on top of the trunk branch.

Usage

salsaflow release start [-no_fetch] [-next_trunk_version=NEXT]

Description

This command shall be used to start a new release branch according to the workflow.

Steps

This command goes through the following steps:

  1. Fetch the remote repository.
  2. Make sure the trunk branch is up to date.
  3. Make sure the release branch does not exist.
  4. The user is prompted to confirm the release. This step largely depends on the issue tracker module that is being used. Various checks can be carried out here to make sure the release can be started.
  5. Create the release branch on top of the trunk branch.
  6. Set and commit the trunk version string. This means that the version string is set for the release that is going to be forked off the trunk branch next. The new trunk version string is by default generated by auto-incrementing the current one (resetting the patch number to 0 and incrementing the minor by 1).
  7. Mark the release as started in the issue tracker. This again depends on the module that is being used.
  8. All modified branches are pushed.

Documentation

Overview

Create a new release branch on top of the trunk branch.

salsaflow release start [-no_fetch] [-next_trunk_version=NEXT]

Description

This command shall be used to start a new release branch according to the workflow.

Steps

This command goes through the following steps:

  1. Fetch the remote repository.
  2. Make sure the trunk branch is up to date.
  3. Make sure the release branch does not exist.
  4. The user is prompted to confirm the release. This step largely depends on the issue tracker module that is being used. Various checks can be carried out here to make sure the release can be started.
  5. Create the release branch on top of the trunk branch.
  6. Set and commit the trunk version string. This means that the version string is set for the release that is going to be forked off the trunk branch next. The new trunk version string is by default generated by auto-incrementing the current one (resetting the patch number to 0 and incrementing the minor by 1).
  7. Mark the release as started in the issue tracker. This again depends on the module that is being used.
  8. All modified branches are pushed.

Index

Constants

This section is empty.

Variables

View Source
var Command = &gocli.Command{
	UsageLine: `
  start [-no_fetch] [-next_trunk_version=VERSION]`,
	Short: "start a new release",
	Long: `
  Start a new release, i.e. create the release branch,
  bump the next version number into the trunk branch
  and make the relevant changes in the issue tracker.

  The release branch is always created on top of the trunk branch,
  the issue tracker actions carried out depend on the plugin being used.

  Considering version numbers, the new release branch inherits
  the version that was on the trunk branch. Then a new version is bumped
  into the trunk branch. By default the new version is taken from
  the previous one by auto-incrementing the minor version.
  However, -next_trunk_version can be used to overwrite this behaviour.
	`,
	Action: run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL