Update fastfile configuration to allow updating the alpha track

This commit is contained in:
Roland Geider
2021-03-15 11:06:25 +01:00
parent 7c9ccceff4
commit 3fb2bc5daf
6 changed files with 42 additions and 22 deletions

View File

@@ -6,21 +6,21 @@ GEM
public_suffix (>= 2.0.2, < 5.0)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.1.0)
aws-partitions (1.429.0)
aws-sdk-core (3.112.0)
aws-eventstream (1.1.1)
aws-partitions (1.432.0)
aws-sdk-core (3.113.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.42.0)
aws-sdk-kms (1.43.0)
aws-sdk-core (~> 3, >= 3.112.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.89.0)
aws-sdk-s3 (1.91.0)
aws-sdk-core (~> 3, >= 3.112.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.2.2)
aws-sigv4 (1.2.3)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.0.3)
@@ -47,8 +47,8 @@ GEM
faraday-net_http (1.0.1)
faraday_middleware (1.0.0)
faraday (~> 1.0)
fastimage (2.2.2)
fastlane (2.176.0)
fastimage (2.2.3)
fastlane (2.178.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
artifactory (~> 3.0)
@@ -95,7 +95,7 @@ GEM
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.12)
google-apis-core (0.2.1)
google-apis-core (0.3.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 0.14)
httpclient (>= 2.8.1, < 3.0)
@@ -105,17 +105,17 @@ GEM
rexml
signet (~> 0.14)
webrick
google-apis-iamcredentials_v1 (0.1.0)
google-apis-iamcredentials_v1 (0.2.0)
google-apis-core (~> 0.1)
google-apis-storage_v1 (0.2.0)
google-apis-storage_v1 (0.3.0)
google-apis-core (~> 0.1)
google-cloud-core (1.5.0)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.4.0)
google-cloud-env (1.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-errors (1.0.1)
google-cloud-storage (1.30.0)
google-cloud-errors (1.1.0)
google-cloud-storage (1.31.0)
addressable (~> 2.5)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
@@ -123,7 +123,7 @@ GEM
google-cloud-core (~> 1.2)
googleauth (~> 0.9)
mini_mime (~> 1.0)
googleauth (0.15.1)
googleauth (0.16.0)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
@@ -158,7 +158,7 @@ GEM
ruby2_keywords (0.0.4)
rubyzip (2.3.0)
security (0.1.3)
signet (0.14.1)
signet (0.15.0)
addressable (~> 2.3)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.5, < 3.0)

View File

@@ -24,6 +24,22 @@ lane :playstore do
end
platform :android do
desc "Upload closed alpha app and update store entry"
lane :updateclosed_alpha do
begin
upload_to_play_store(
track: 'alpha',
aab: '../build/app/outputs/bundle/release/app-release.aab',
skip_upload_metadata: false,
skip_upload_images: true,
skip_upload_screenshots: true,
release_status: "completed", #"draft",
)
end
end
desc "Runs all the tests"
lane :test do
gradle(task: "test")

View File

@@ -24,6 +24,11 @@ fastlane playstore
----
## Android
### android updateclosed_beta
```
fastlane android updateclosed_beta
```
Update store entry
### android test
```
fastlane android test

View File

@@ -0,0 +1 @@
wger Workout Manager

View File

@@ -5,14 +5,12 @@
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.003772">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.0021915">
</testcase>
<testcase classname="fastlane.lanes" name="1: assembleRelease" time="0.1341042">
<failure message="C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/actions/actions_helper.rb:67:in `execute_action'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'&#10;Fastfile:20:in `block in parsing_binding'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/lane.rb:33:in `call'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/runner.rb:45:in `execute'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/commands_generator.rb:352:in `run'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in `take_off'&#10;C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/fastlane-2.172.0/bin/fastlane:23:in `&lt;top (required)&gt;'&#10;C:/Ruby27-x64/bin/fastlane:23:in `load'&#10;C:/Ruby27-x64/bin/fastlane:23:in `&lt;main&gt;'&#10;&#10;Exit status of command '&quot;C:/Users/Roland Geider/GitHub/wger_repos/flutter/android/gradlew&quot; assembleRelease -p .' was 1 instead of 0.&#10;&#10;ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.&#10;&#10;Please set the JAVA_HOME variable in your environment to match the&#10;location of your Java installation.&#10;" />
<testcase classname="fastlane.lanes" name="1: upload_to_play_store" time="69.5044726">
</testcase>

View File

@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# 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: 0.1.0+5
version: 0.1.0+6
environment:
sdk: ">=2.10.0 <3.0.0"