From d38ec1059a565b4db0e9c484b3cbf9b80096cadd Mon Sep 17 00:00:00 2001 From: MiT <43699145+mit-73@users.noreply.github.com> Date: Fri, 25 Nov 2022 13:37:13 +0400 Subject: [PATCH] Bump version (#60) * ci: edit make & script * chore: bump to 2.2.14 --- Makefile | 5 ++++- packages/mad_pay/CHANGELOG.md | 4 ++++ packages/mad_pay/README.md | 2 +- packages/mad_pay/pubspec.yaml | 21 ++++++------------- packages/mad_pay/pubspec_overrides.yaml | 7 +++++++ packages/mad_pay_android/CHANGELOG.md | 4 ++++ packages/mad_pay_android/pubspec.yaml | 15 +++++-------- .../mad_pay_android/pubspec_overrides.yaml | 3 +++ packages/mad_pay_ios/CHANGELOG.md | 4 ++++ packages/mad_pay_ios/pubspec.yaml | 13 ++++-------- packages/mad_pay_ios/pubspec_overrides.yaml | 3 +++ .../mad_pay_platform_interface/CHANGELOG.md | 4 ++++ .../mad_pay_platform_interface/pubspec.yaml | 8 +++---- tool/bump-version.sh | 4 ++++ 14 files changed, 57 insertions(+), 40 deletions(-) create mode 100644 packages/mad_pay/pubspec_overrides.yaml create mode 100644 packages/mad_pay_android/pubspec_overrides.yaml create mode 100644 packages/mad_pay_ios/pubspec_overrides.yaml diff --git a/Makefile b/Makefile index 81c6c9d..993de0e 100644 --- a/Makefile +++ b/Makefile @@ -42,4 +42,7 @@ analyze: $(foreach v, $(PACKAGES_PATH), cd $(v); $(FVM_FLUTTER) analyze . --fatal-infos; cd ../..;) pana: - $(foreach v, $(PACKAGES_PATH), cd $(v); $(PANA_SCRIPT); cd ../..;) \ No newline at end of file + $(foreach v, $(PACKAGES_PATH), cd $(v); $(PANA_SCRIPT); cd ../..;) + +publish: + $(foreach v, $(PACKAGES_PATH), cd $(v); yes Y | dart pub publish; cd ../..;) \ No newline at end of file diff --git a/packages/mad_pay/CHANGELOG.md b/packages/mad_pay/CHANGELOG.md index 64a6bc4..929d06a 100644 --- a/packages/mad_pay/CHANGELOG.md +++ b/packages/mad_pay/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.2.14 + +* bump deps + ## 2.2.13 * Fixed a bug where the token gave an exception instead of a result diff --git a/packages/mad_pay/README.md b/packages/mad_pay/README.md index 4d38885..74e82da 100644 --- a/packages/mad_pay/README.md +++ b/packages/mad_pay/README.md @@ -17,7 +17,7 @@ Easy integration with Google Pay and Apple Pay for your flutter app. Add this to your package's pubspec.yaml file: ```yaml dependencies: - mad_pay: ^2.2.13 + mad_pay: ^2.2.14 ```
For Android diff --git a/packages/mad_pay/pubspec.yaml b/packages/mad_pay/pubspec.yaml index 81dfc5f..fd35442 100644 --- a/packages/mad_pay/pubspec.yaml +++ b/packages/mad_pay/pubspec.yaml @@ -1,30 +1,21 @@ name: mad_pay description: Mad Pay will help you make payments through Apple Pay and Google Pay -version: 2.2.13 +version: 2.2.14 repository: https://github.com/MadBrains/Mad-Pay-Flutter issue_tracker: https://github.com/MadBrains/Mad-Pay-Flutter/issues homepage: https://madbrains.ru/ environment: - sdk: ">=2.17.0-0 <3.0.0" - flutter: ">=2.11.0-0.1.pre" + sdk: ">=2.17.0 <3.0.0" + flutter: ">=2.12.0" dependencies: flutter: sdk: flutter - mad_pay_platform_interface: ^2.2.12 - mad_pay_android: ^2.2.12 - mad_pay_ios: ^2.2.12 - -# For development. Remove/comment before publishing to pub. -# dependency_overrides: -# mad_pay_platform_interface: -# path: ../mad_pay_platform_interface -# mad_pay_android: -# path: ../mad_pay_android -# mad_pay_ios: -# path: ../mad_pay_ios + mad_pay_platform_interface: ^2.2.14 + mad_pay_android: ^2.2.14 + mad_pay_ios: ^2.2.14 dev_dependencies: flutter_test: diff --git a/packages/mad_pay/pubspec_overrides.yaml b/packages/mad_pay/pubspec_overrides.yaml new file mode 100644 index 0000000..f6fe13a --- /dev/null +++ b/packages/mad_pay/pubspec_overrides.yaml @@ -0,0 +1,7 @@ +dependency_overrides: + mad_pay_platform_interface: + path: ../mad_pay_platform_interface + mad_pay_android: + path: ../mad_pay_android + mad_pay_ios: + path: ../mad_pay_ios \ No newline at end of file diff --git a/packages/mad_pay_android/CHANGELOG.md b/packages/mad_pay_android/CHANGELOG.md index c95b70e..2aed3f4 100644 --- a/packages/mad_pay_android/CHANGELOG.md +++ b/packages/mad_pay_android/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.2.14 + +* bump deps + ## 2.2.13 * Fixed a bug where the token gave an exception instead of a result diff --git a/packages/mad_pay_android/pubspec.yaml b/packages/mad_pay_android/pubspec.yaml index 5151948..8f49d8f 100644 --- a/packages/mad_pay_android/pubspec.yaml +++ b/packages/mad_pay_android/pubspec.yaml @@ -1,26 +1,21 @@ name: mad_pay_android description: A plug-in to add support for payments on the Android side of Mad Pay -version: 2.2.13 +version: 2.2.14 repository: https://github.com/MadBrains/Mad-Pay-Flutter issue_tracker: https://github.com/MadBrains/Mad-Pay-Flutter/issues homepage: https://madbrains.ru/ environment: - sdk: ">=2.17.0-0 <3.0.0" - flutter: ">=2.11.0-0.1.pre" + sdk: ">=2.17.0 <3.0.0" + flutter: ">=2.12.0" dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter - mad_pay_platform_interface: ^2.2.12 - flutter_svg: ^1.1.0 - -# For development. Remove/comment before publishing to pub. -# dependency_overrides: -# mad_pay_platform_interface: -# path: ../mad_pay_platform_interface + mad_pay_platform_interface: ^2.2.14 + flutter_svg: ^1.1.6 dev_dependencies: flutter_test: diff --git a/packages/mad_pay_android/pubspec_overrides.yaml b/packages/mad_pay_android/pubspec_overrides.yaml new file mode 100644 index 0000000..bd87a71 --- /dev/null +++ b/packages/mad_pay_android/pubspec_overrides.yaml @@ -0,0 +1,3 @@ +dependency_overrides: + mad_pay_platform_interface: + path: ../mad_pay_platform_interface \ No newline at end of file diff --git a/packages/mad_pay_ios/CHANGELOG.md b/packages/mad_pay_ios/CHANGELOG.md index 3372b55..e809b5f 100644 --- a/packages/mad_pay_ios/CHANGELOG.md +++ b/packages/mad_pay_ios/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.2.14 + +* bump deps + ## 2.2.13 * Fixed a bug where the token gave an exception instead of a result diff --git a/packages/mad_pay_ios/pubspec.yaml b/packages/mad_pay_ios/pubspec.yaml index 157cadc..3bfe12a 100644 --- a/packages/mad_pay_ios/pubspec.yaml +++ b/packages/mad_pay_ios/pubspec.yaml @@ -1,23 +1,18 @@ name: mad_pay_ios description: A plug-in to add support for payments on the iOS side of Mad Pay -version: 2.2.13 +version: 2.2.14 repository: https://github.com/MadBrains/Mad-Pay-Flutter issue_tracker: https://github.com/MadBrains/Mad-Pay-Flutter/issues homepage: https://madbrains.ru/ environment: - sdk: ">=2.17.0-0 <3.0.0" - flutter: ">=2.11.0-0.1.pre" + sdk: ">=2.17.0 <3.0.0" + flutter: ">=2.12.0" dependencies: flutter: sdk: flutter - mad_pay_platform_interface: ^2.2.12 - -# For development. Remove/comment before publishing to pub. -# dependency_overrides: -# mad_pay_platform_interface: -# path: ../mad_pay_platform_interface + mad_pay_platform_interface: ^2.2.14 dev_dependencies: flutter_test: diff --git a/packages/mad_pay_ios/pubspec_overrides.yaml b/packages/mad_pay_ios/pubspec_overrides.yaml new file mode 100644 index 0000000..bd87a71 --- /dev/null +++ b/packages/mad_pay_ios/pubspec_overrides.yaml @@ -0,0 +1,3 @@ +dependency_overrides: + mad_pay_platform_interface: + path: ../mad_pay_platform_interface \ No newline at end of file diff --git a/packages/mad_pay_platform_interface/CHANGELOG.md b/packages/mad_pay_platform_interface/CHANGELOG.md index adfe386..b0bdd87 100644 --- a/packages/mad_pay_platform_interface/CHANGELOG.md +++ b/packages/mad_pay_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.2.14 + +* bump deps + ## 2.2.13 * Fixed a bug where the token gave an exception instead of a result diff --git a/packages/mad_pay_platform_interface/pubspec.yaml b/packages/mad_pay_platform_interface/pubspec.yaml index 5092823..b5f914b 100644 --- a/packages/mad_pay_platform_interface/pubspec.yaml +++ b/packages/mad_pay_platform_interface/pubspec.yaml @@ -1,19 +1,19 @@ name: mad_pay_platform_interface description: A common platform interface for Mad Pay. Сontains cross-platform logic. -version: 2.2.13 +version: 2.2.14 repository: https://github.com/MadBrains/Mad-Pay-Flutter issue_tracker: https://github.com/MadBrains/Mad-Pay-Flutter/issues homepage: https://madbrains.ru/ environment: - sdk: ">=2.17.0-0 <3.0.0" - flutter: ">=2.11.0-0.1.pre" + sdk: ">=2.17.0 <3.0.0" + flutter: ">=2.12.0" dependencies: flutter: sdk: flutter protobuf: ^2.1.0 - plugin_platform_interface: ^2.1.2 + plugin_platform_interface: ^2.1.3 dev_dependencies: flutter_test: diff --git a/tool/bump-version.sh b/tool/bump-version.sh index 7e1b536..d8e29e4 100755 --- a/tool/bump-version.sh +++ b/tool/bump-version.sh @@ -12,6 +12,10 @@ echo "Bumping version: ${NEW_VERSION}" for pkg in {mad_pay,mad_pay_android,mad_pay_ios,mad_pay_platform_interface}; do # Bump version in pubspec.yaml perl -pi -e "s/^version: .*/version: $NEW_VERSION/" packages/$pkg/pubspec.yaml + + perl -pi -e "s/mad_pay_platform_interface: .*/mad_pay_platform_interface: ^$NEW_VERSION/" packages/$pkg/pubspec.yaml + perl -pi -e "s/mad_pay_android: .*/mad_pay_android: ^$NEW_VERSION/" packages/$pkg/pubspec.yaml + perl -pi -e "s/mad_pay_ios: .*/mad_pay_ios: ^$NEW_VERSION/" packages/$pkg/pubspec.yaml done perl -pi -e "s/mad_pay: .*/mad_pay: ^$NEW_VERSION/" packages/mad_pay/README.md \ No newline at end of file