Back to Flutter Inner Source homepage
inner source

release Command

The git flutter release command is used to start a release.

  git flutter release {name | --cancel} [flags]

$ git flutter release v1.0.0
$ git flutter release --cancel

      --cancel          cancel the release
  -s, --source string   working directory (default ".")
      --team string     team name
  -y, --yes             confirm yes to any interactive prompts

Global Flags:
      --cache string                application cache file (default "/home/runner/.git-flutter.cache.v9")
  -f, --fetch-expiration duration   time till fetch remote again (default 1h0m0s)
      --no-check-version            doesn't check for updated version
      --no-network                  doesn't perform network operations
  -v, --verbose                     verbose log output


Start a Release

Two teams (opo and lds) are working with the multiple teams SDLC. Engineers from both teams have now merged several features into their develop branches. As a member of the Leeds team I want to release our work so use the release command to start a release.

$ git flutter release 1.4 --yes
Creates a release branch named 'lds/release/1.4' from the current team develop branch 'lds/develop', and pushes it to remote

i Creating branch 'lds/release/1.4'

✔ The 'lds/release/1.4' branch was pushed to remote

✔ The release branch 'lds/release/1.4' was successfully created

You can now raise a PR to merge the release into main, or use 'git flutter tag' to create a beta build.

Concurrent Releases Prevented

Two teams (opo and lds) are working with the multiple teams SDLC. The Leeds (lds) team have a release in progress so as a member of the Porto team I am prevented from starting another release until the Leeds release is completed or cancelled.

$ git flutter release a-named-release --yes
An ERROR occurred:

✘ there is 1 active release(s): 'lds/release/1.4'

Command help is available using the --help flag.
Support is available in Slack channel #inner-source.
Git Flutter Install
← Previous
tag Command