1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Improve building

This commit is contained in:
Zhiyuan Zheng
2022-06-11 14:21:39 +02:00
parent aeb3ed8493
commit c7cf3d52f1
3 changed files with 18 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ private_lane :github_release do |options|
description: "No changelog provided",
commitish: git_branch,
is_prerelease: options[:prerelease],
upload_assets: ["#{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"]
upload_assets: ["#{File.expand_path('..', Dir.pwd)}/tooot.apk"]
)
end
@@ -198,7 +198,7 @@ private_lane :build_android do
"android.injected.signing.key.password" => ENV["ANDROID_KEYSTORE_KEY_PASSWORD"],
}
)
sh "mv #{lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]} #{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"
sh "mv #{lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]} #{File.expand_path('..', Dir.pwd)}/tooot.apk"
else
if !is_ci
build_android_app(