action-detect-and-tag-new-version
action-detect-and-tag-new-version copied to clipboard
add support for pubspec.yaml
I'm suggesting a default value for version-command
, in case a pubspec.yaml
file (Flutter) is found:
grep "version\: " ./pubspec.yaml | sed 's/version\: //g'
I've just checked that this works on my flutter repository. I don't guarantee it's 100% fault proof, pretty sure it's better than nothing.