tag
CommandThe git flutter tag
command is used to create a semver tag.
Usage:
git flutter tag {major | minor | patch | integration | <newversion>} [flags]
Examples:
$ git flutter tag patch
$ git flutter tag 1.0.0
Flags:
-m, --message string custom annotated tag commit message
-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
Two teams (opo and lds) are working with the multiple teams SDLC.As a member of the Leeds team I have started a release and want to create a beta build to deploy to our staging environment. I use the tag command to specify a semver tag on the release branch to trigger a CI build.
$ git flutter tag 1.4.0-lds.beta.0 --push --yes
An ERROR occurred:
✘ unknown flag: --push
Command help is available using the --help flag.
Support is available in Slack channel #inner-source.
Two teams (opo and lds) are working with the multiple teams SDLC.As a member of the Leeds team I have completed testing the beta builds and merged the release branch into main to complete the release. I now use the tag command to increment a minor version tag to trigger a production build.
$ git flutter tag minor --push --yes
An ERROR occurred:
✘ unknown flag: --push
Command help is available using the --help flag.
Support is available in Slack channel #inner-source.