diff options
author | Álvaro Brey Vilas <alvaro.brey@nextcloud.com> | 2021-12-22 14:44:45 +0300 |
---|---|---|
committer | Álvaro Brey Vilas <alvaro.brey@nextcloud.com> | 2021-12-22 14:48:00 +0300 |
commit | a23cd53462c359812167ea8c0c8d4973e4d0e40d (patch) | |
tree | 02ede23ba5791527ad29a419fa55ce025cb6377d | |
parent | 65be9c43b51cd6d13c87ba25e67cfc7328f94f48 (diff) |
Fastfile: fix requirement check syntaxstable-3.18.1
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
-rw-r--r-- | fastlane/Fastfile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 16497c3dff..914029ffda 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -167,19 +167,19 @@ private_lane :build_for_screengrab do end private_lane :checkReleaseRequirements_common do - sh("if ! command -v fdroid &>/dev/null; then echo 'fdroid command not found' ; exit 1 ;") + sh("if ! command -v fdroid &>/dev/null; then echo 'fdroid command not found' && exit 1; fi") end private_lane :checkReleaseRequirements_RC do checkReleaseRequirements_common() - sh("if ! command -v fdroidMergeRequestRC &>/dev/null; then echo 'fdroidMergeRequestRC command not found'; exit 1;") - sh("if ! command -v createChangelogPullRequestRC &>/dev/null; then echo 'createChangelogPullRequestRC command not found'; exit 1;") + sh("if ! command -v fdroidMergeRequestRC &>/dev/null; then echo 'fdroidMergeRequestRC command not found'; exit 1; fi") + sh("if ! command -v createChangelogPullRequestRC &>/dev/null; then echo 'createChangelogPullRequestRC command not found'; exit 1; fi") end private_lane :checkReleaseRequirements_Final do checkReleaseRequirements_common() - sh("if ! command -v fdroidMergeRequestFinal &>/dev/null; then echo 'fdroidMergeRequestFinal command not found'; exit 1;") - sh("if ! command -v createChangelogPullRequestFinal &>/dev/null; then echo 'createChangelogPullRequestFinal command not found'; exit 1;") + sh("if ! command -v fdroidMergeRequestFinal &>/dev/null; then echo 'fdroidMergeRequestFinal command not found'; exit 1; fi") + sh("if ! command -v createChangelogPullRequestFinal &>/dev/null; then echo 'createChangelogPullRequestFinal command not found'; exit 1; fi") end private_lane :createChangelogPullRequest_RC do |options| |