1
0
mirror of https://github.com/tooot-app/app synced 2025-01-02 12:47:13 +01:00

Fix fastlane

Patch update do not need to build native apps
This commit is contained in:
Zhiyuan Zheng 2021-05-31 00:09:13 +02:00
parent a023ad58f1
commit 8f2b72c303

View File

@ -197,7 +197,7 @@ private_lane :build_android do
end
lane :build do
releaseExists = get_github_release(url: GITHUB_REPO, version: GITHUB_RELEASE, api_token: ENV['GH_PAT_GET_RELEASE'])
releaseExists = get_github_release(url: GITHUB_REPO, version: "v#{VERSION}", api_token: ENV['GH_PAT_GET_RELEASE'])
if releaseExists
puts("Release #{GITHUB_RELEASE} exists. Continue with building React Native only.")
else