From ad9a3a15f52a29810fa7a0f833d8ce4abeda40b2 Mon Sep 17 00:00:00 2001 From: Varakh Date: Mon, 29 May 2023 15:47:12 +0200 Subject: [PATCH 1/3] Prepare next develop cycle #noissue --- CHANGELOG.md | 3 +++ pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30567e3..adf2656 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## 1.6.1+20 +* ... + ## 1.6.1+19 * Updated internal dependencies diff --git a/pubspec.yaml b/pubspec.yaml index 32f0ded..2228e40 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: A mobile client for FileBin. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.6.1+19 +version: 1.6.1+20 environment: sdk: '>=2.19.4 <3.0.0' From bc777d48263956e6c934cdc5c35677372385b5d7 Mon Sep 17 00:00:00 2001 From: Varakh Date: Mon, 29 May 2023 15:59:59 +0200 Subject: [PATCH 2/3] Add documentation for release with bundler and fastlane #noissue --- README.md | 23 ++++++++++++++++++++++- android/.gitignore | 2 ++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cbaebe..1cb296c 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,34 @@ following to build for Android `fastlane android build`. ##### Android -Use `fastlane android beta` to build and upload a new beta version to the Play Store. +It's recommended you set up `fastlane` via `bundler` (you need this to be installed on your machine). + +Go into the `android/` sub-directory of the project + +```shell +bundle config set --local path 'vendor/bundle' +bundle install + +# update fastlane when needed +bundle update fastlane + +# build only +bundle exec fastlane android build + +# deploy (push BETA to app store) +bundle exec fastlane android beta + +# deploy (push to app store) +bundle exec fastlane android deploy +``` ##### iOS For iOS you need to execute `fastlane ios build` before uploading to testflight with `fastlane ios beta`. +Probably do the same Ruby/fastlane setup as mentioned under the _Android_ section. + ### Release manually (not recommended) See the following links on how to setup: diff --git a/android/.gitignore b/android/.gitignore index bc2100d..611a492 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -5,3 +5,5 @@ gradle-wrapper.jar /gradlew.bat /local.properties GeneratedPluginRegistrant.java +.bundle +vendor/ From 713d8f57bea1eb7cd74017533bde9219d8851460 Mon Sep 17 00:00:00 2001 From: Varakh Date: Mon, 29 May 2023 16:14:59 +0200 Subject: [PATCH 3/3] Bump version to next develop #noissue --- CHANGELOG.md | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adf2656..4965609 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## 1.6.1+20 +## 1.6.2+20 - UNRELEASED * ... ## 1.6.1+19 diff --git a/pubspec.yaml b/pubspec.yaml index 2228e40..f4601fe 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: A mobile client for FileBin. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.6.1+20 +version: 1.6.2+20 environment: sdk: '>=2.19.4 <3.0.0'