Is there a tool people use for bumping release versions of apps? I mean the dance that one needs to do before every minor release of an app, where you edit the version in pubspec.yaml, and probably also change the version string in some Dart file, and then make a commit and add a tag that says something like "v1.0.234".

I got so bored by this that I made a tiny one-off tool for Knights of San Francisco. But there must be something out there, no?

#Flutter

@filiph I just leave pubspec alone and make a git tag. The CI system then uses this tag and compiles the app with build name and number arguments from it. Alternatively you just set the version name in the tag and auto increment build numbers, for example just use the GitHub build number for the job and so on …
@ben oooh, clever. Is the CI script that does the version change available somewhere?

@filiph no but splitting a tag like 1.0.0+123 apart could work like a this in a GitHub action:

- name: Get version and build number
run: |
VERSION=$(cut -d "+" -f1 <<< $GITHUB_REF_NAME)
echo "::set-output name=VERSION::${VERSION}"
BUILD=$(cut -d "+" -f2 <<< $GITHUB_REF_NAME)
echo "::set-output name=BUILD::${BUILD}"
id: version