Skip to content

Commit a23cd53

Browse files
committed
Fastfile: fix requirement check syntax
Signed-off-by: Álvaro Brey Vilas <[email protected]>
1 parent 65be9c4 commit a23cd53

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fastlane/Fastfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -167,19 +167,19 @@ private_lane :build_for_screengrab do
167167
end
168168

169169
private_lane :checkReleaseRequirements_common do
170-
sh("if ! command -v fdroid &>/dev/null; then echo 'fdroid command not found' ; exit 1 ;")
170+
sh("if ! command -v fdroid &>/dev/null; then echo 'fdroid command not found' && exit 1; fi")
171171
end
172172

173173
private_lane :checkReleaseRequirements_RC do
174174
checkReleaseRequirements_common()
175-
sh("if ! command -v fdroidMergeRequestRC &>/dev/null; then echo 'fdroidMergeRequestRC command not found'; exit 1;")
176-
sh("if ! command -v createChangelogPullRequestRC &>/dev/null; then echo 'createChangelogPullRequestRC command not found'; exit 1;")
175+
sh("if ! command -v fdroidMergeRequestRC &>/dev/null; then echo 'fdroidMergeRequestRC command not found'; exit 1; fi")
176+
sh("if ! command -v createChangelogPullRequestRC &>/dev/null; then echo 'createChangelogPullRequestRC command not found'; exit 1; fi")
177177
end
178178

179179
private_lane :checkReleaseRequirements_Final do
180180
checkReleaseRequirements_common()
181-
sh("if ! command -v fdroidMergeRequestFinal &>/dev/null; then echo 'fdroidMergeRequestFinal command not found'; exit 1;")
182-
sh("if ! command -v createChangelogPullRequestFinal &>/dev/null; then echo 'createChangelogPullRequestFinal command not found'; exit 1;")
181+
sh("if ! command -v fdroidMergeRequestFinal &>/dev/null; then echo 'fdroidMergeRequestFinal command not found'; exit 1; fi")
182+
sh("if ! command -v createChangelogPullRequestFinal &>/dev/null; then echo 'createChangelogPullRequestFinal command not found'; exit 1; fi")
183183
end
184184

185185
private_lane :createChangelogPullRequest_RC do |options|

0 commit comments

Comments
 (0)