icon

Version pre-release info

Generate version containing pre-release information (v1.0.0-alpha.1, 2.4.1.249-beta+2, v2.0-rc.3) based on git tags.

This step extends version and build number provided as parameters (Version number, Build number) with a pre-release identifier (Pre-release identifier, e.g. alpha, beta, rc) and a pre-release number. The build number is optional and it's not incremented. The pre-release number is automatically incremented based on the existing git tags. If there are no tags for the provided version, pre-release number is set to the initial value (Pre-release initial value). Pre-release information is exported to the following environment variables:

  • APP_PRE_RELEASE_INFO (e.g. rc.3)
  • APP_VERSION_WITH_PRE_RELEASE_INFO (e.g. v2.0-rc.3)

You can use these environment variables in next steps (e.g. when creating a git tag).

Similar steps

Sets the Bundle Version and Bundle Short Version String to the specified value, in the target Info.plist file for the next build.

This step will use ImageMagick to stamp the version number to all icons.

Extracts minimum required Flutter version from pubspec files

Sets an environment variable with the npm package version