Skip to content

Commit

Permalink
Bump version (#60)
Browse files Browse the repository at this point in the history
* ci: edit make & script

* chore: bump to 2.2.14
  • Loading branch information
mit-73 authored Nov 25, 2022
1 parent 2d9f787 commit d38ec10
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 40 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../..;)
$(foreach v, $(PACKAGES_PATH), cd $(v); $(PANA_SCRIPT); cd ../..;)

publish:
$(foreach v, $(PACKAGES_PATH), cd $(v); yes Y | dart pub publish; cd ../..;)
4 changes: 4 additions & 0 deletions packages/mad_pay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/mad_pay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
<details><summary><b>For Android</b></summary>
Expand Down
21 changes: 6 additions & 15 deletions packages/mad_pay/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
7 changes: 7 additions & 0 deletions packages/mad_pay/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions packages/mad_pay_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 5 additions & 10 deletions packages/mad_pay_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 3 additions & 0 deletions packages/mad_pay_android/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependency_overrides:
mad_pay_platform_interface:
path: ../mad_pay_platform_interface
4 changes: 4 additions & 0 deletions packages/mad_pay_ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 4 additions & 9 deletions packages/mad_pay_ios/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 3 additions & 0 deletions packages/mad_pay_ios/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependency_overrides:
mad_pay_platform_interface:
path: ../mad_pay_platform_interface
4 changes: 4 additions & 0 deletions packages/mad_pay_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/mad_pay_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 4 additions & 0 deletions tool/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d38ec10

Please sign in to comment.