From 796e213f0aab850e497051fb82902342759ffa67 Mon Sep 17 00:00:00 2001 From: mikemilla Date: Mon, 14 Nov 2022 12:49:34 -0500 Subject: [PATCH] Bump --- android/build.gradle | 2 +- pubspec.yaml | 2 +- release.sh | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index e849e53..4dfee06 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -50,6 +50,6 @@ android { } dependencies { - api 'com.github.trycourier:courier-android:1.0.35' + api 'com.github.trycourier:courier-android:1.0.399' api 'com.google.firebase:firebase-messaging-ktx:23.1.0' } diff --git a/pubspec.yaml b/pubspec.yaml index 154713a..96e7618 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: courier_flutter description: The best way to add push notifications to your Flutter app! -version: 0.0.7 +version: 1.0.0 homepage: https://courier.com environment: diff --git a/release.sh b/release.sh index a7f0f1d..98f68fb 100644 --- a/release.sh +++ b/release.sh @@ -9,6 +9,11 @@ brew install python-yq PACKAGE_VERSION=$(yq .version pubspec.yaml | tr -d '"') echo $PACKAGE_VERSION +# Bump the version +git add . +git commit -m "Bump" +git push + # Add the tag git tag $PACKAGE_VERSION git push --tags @@ -17,4 +22,6 @@ git push --tags gh release create $PACKAGE_VERSION --generate-notes # Publish to pub.dev -flutter pub publish \ No newline at end of file +flutter pub publish + +echo "You can see the release here: https://pub.dev/packages/courier_flutter" \ No newline at end of file