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:
- Fetch the remote repository.
- Make sure the trunk branch is up to date.
- Make sure the release branch does not exist.
- 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.
- Create the release branch on top of the trunk branch.
- 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).
- Mark the release as started in the issue tracker. This again depends on the module that is being used.
- 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:
- Fetch the remote repository.
- Make sure the trunk branch is up to date.
- Make sure the release branch does not exist.
- 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.
- Create the release branch on top of the trunk branch.
- 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).
- Mark the release as started in the issue tracker. This again depends on the module that is being used.
- 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.
Click to show internal directories.
Click to hide internal directories.