Add iOS nightly lane to fastlane

This commit is contained in:
2020-12-06 19:09:47 +01:00
parent 6789bf3aa6
commit 3aee0e9a6a
4 changed files with 54 additions and 18 deletions

View File

@@ -1,13 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.2)
CFPropertyList (3.0.3)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
atomos (0.1.3)
aws-eventstream (1.1.0)
aws-partitions (1.388.0)
aws-sdk-core (3.109.1)
aws-partitions (1.402.0)
aws-sdk-core (3.110.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-sigv4 (~> 1.1)
@@ -15,7 +15,7 @@ GEM
aws-sdk-kms (1.39.0)
aws-sdk-core (~> 3, >= 3.109.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.83.1)
aws-sdk-s3 (1.86.0)
aws-sdk-core (~> 3, >= 3.109.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
@@ -29,13 +29,13 @@ GEM
highline (~> 1.7.2)
declarative (0.0.20)
declarative-option (0.1.0)
digest-crc (0.6.1)
rake (~> 13.0)
digest-crc (0.6.2)
rake (~> 12.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
emoji_regex (3.2.0)
excon (0.78.0)
emoji_regex (3.2.1)
excon (0.78.1)
faraday (1.1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords
@@ -45,7 +45,7 @@ GEM
faraday_middleware (1.0.0)
faraday (~> 1.0)
fastimage (2.2.0)
fastlane (2.165.0)
fastlane (2.170.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
aws-sdk-s3 (~> 1.0)
@@ -119,7 +119,7 @@ GEM
json (2.3.1)
jwt (2.2.2)
memoist (0.16.2)
mini_magick (4.10.1)
mini_magick (4.11.0)
mini_mime (1.0.2)
multi_json (1.15.0)
multipart-post (2.0.0)
@@ -128,7 +128,7 @@ GEM
os (1.1.1)
plist (3.5.0)
public_suffix (4.0.6)
rake (13.0.1)
rake (12.3.3)
representable (3.0.4)
declarative (< 0.1.0)
declarative-option (< 0.2.0)

View File

@@ -42,3 +42,26 @@ platform :android do
upload_to_play_store
end
end
platform :ios do
desc "Submit a new Nightly Build to Firebase App Distribution"
lane :nightly do
Dir.chdir "../ios/circolapp/circolapp"
increment_build_number(build_number: number_of_commits)
build_app(scheme: "circolapp",
workspace: "circolapp.xcworkspace",
export_method: "ad-hoc",
export_xcargs: "-allowProvisioningUpdates",
include_bitcode: true)
changelog_from_git_commits(
between: ["HEAD~1", "HEAD"]
)
firebase_app_distribution(
app: "1:455942942122:ios:f8d0401f40144885150fd3",
groups: "closed-beta-ios"
)
end
end

View File

@@ -29,6 +29,15 @@ Deploy a new version to the Google Play
----
## iOS
### ios nightly
```
fastlane ios nightly
```
Submit a new Nightly Build to Firebase App Distribution
----
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).

View File

@@ -331,6 +331,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Apple Development";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -392,6 +393,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Apple Distribution";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
@@ -423,7 +425,7 @@
CODE_SIGN_ENTITLEMENTS = circolapp/circolapp.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 100;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"circolapp/Preview Content\"";
DEVELOPMENT_TEAM = 778438K57Y;
ENABLE_PREVIEWS = YES;
@@ -434,7 +436,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 88cd2bd;
MARKETING_VERSION = LOCAL;
OTHER_LDFLAGS = (
"-lsqlite3",
"$(inherited)",
@@ -444,6 +446,7 @@
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
};
@@ -454,9 +457,9 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = circolapp/circolapp.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 100;
CODE_SIGN_IDENTITY = "Apple Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"circolapp/Preview Content\"";
DEVELOPMENT_TEAM = 778438K57Y;
ENABLE_PREVIEWS = YES;
@@ -467,16 +470,17 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 88cd2bd;
MARKETING_VERSION = LOCAL;
OTHER_LDFLAGS = (
"-lsqlite3",
"$(inherited)",
);
PRODUCT_BUNDLE_IDENTIFIER = net.underdesk.circolapp;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
PROVISIONING_PROFILE_SPECIFIER = "CircolApp App Distribution";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
};