rubiconba / fastlane-plugin-flutter-version-manager

Fastlane plugin that is used to manage app versioning of Flutter project
MIT License
35 stars 11 forks source link

Replace dependency version #2

Open rafaldziuryk opened 3 years ago

rafaldziuryk commented 3 years ago

Hi,

in pubspec.yaml if we have same version for app and dev-dependencies (or dependencies probably), action apply_new_version replace also version number in deps

version: 0.0.1+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  test_coverage: 0.5.0

dev_dependencies:
  flutter_coverage_badge: 0.0.1+1
  flutter_test:
    sdk: flutter

is replaced by:

version: 0.0.1+7860469

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  test_coverage: 0.5.0

dev_dependencies:
  flutter_coverage_badge: 0.0.1+7860469 // SHOULD STAY 1 <<-----------------
  flutter_test:
    sdk: flutter
davormaricdev commented 3 years ago

Hi! I've identified the problem and it should be fixed in the next release. In the meantime, feel free to manually change the version to 0.0.1+7860469 and try running the plugin again. If the issues still persists after that, reply here and I will give you the status of the development