stageCmd

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: 7 Imported by: 0

README

release stage

Stage the current release branch for acceptance.

Usage

salsaflow release stage

Description

Use this command to stage the current branch for acceptance. This means that the release branch is tagged, closed and the staging branch is reset to point to the tag. Pushing the staging branch then triggers deployment.

Steps

This command goes through the following steps:

  1. Fetch the remote repository to make sure the release branch exists and that it is up to date.
  2. Make sure the release can be staged. This step depends on the issue tracker module, but in general the point is to make sure the assigned stories were reviewed and tested.
  3. Tag the release branch with the release tag.
  4. Delete the release branch.
  5. Reset the staging branch to point to the newly created tag.
  6. Push to the remote repository to delete the release branch, update the staging branch and create the release tag.

Documentation

Overview

Stage the current release branch for acceptance.

salsaflow release stage

Description

Use this command to stage the current branch for acceptance. This means that the release branch is tagged, closed and the staging branch is reset to point to the tag. Pushing the staging branch then triggers deployment.

Steps

This command goes through the following steps:

  1. Fetch the remote repository to make sure the release branch exists and that it is up to date.
  2. Make sure the release can be staged. This step depends on the issue tracker module, but in general the point is to make sure the assigned stories were reviewed and tested.
  3. Tag the release branch with the release tag.
  4. Delete the release branch.
  5. Reset the staging branch to point to the newly created tag.
  6. Push to the remote repository to delete the release branch, update the staging branch and create the release tag.

Index

Constants

This section is empty.

Variables

View Source
var Command = &gocli.Command{
	UsageLine: `
  stage`,
	Short: "stage current release",
	Long: `
  Stage the release that is currently running, i.e.

    1) Make sure the release can be staged (the stories are reviewed and tested)
    2) Reset the staging branch to point to the release branch.
    3) Delete the release branch.
    4) Bump the version for the staging branch.
    5) Push the changes.
	`,
	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