How to release VERSION=1.0.0+6 Update the version number: sed -i -e "s/^version: .*/version: $VERSION/" pubspec.yaml Commit it: git add pubspec.yaml && git commit -m "Tag version $VERSION" git push git push origin main:release/$VERSION