@@ -31,17 +31,17 @@ func (k *keybot) Run(bot *slackbot.Bot, channel string, args []string) (string,
3131 cancelLabel := cancel .Arg ("label" , "Launchd job label" ).String ()
3232
3333 buildMobile := build .Command ("mobile" , "Start an iOS and Android build" )
34- buildMobileSkipCI := buildMobile .Flag ("skip -ci" , "Whether to skip CI" ).Bool ()
34+ buildMobileAwaitCI := buildMobile .Flag ("await -ci" , "Whether to check CI" ).Bool ()
3535 buildMobileAutomated := buildMobile .Flag ("automated" , "Whether this is a timed build" ).Bool ()
3636 buildMobileCientCommit := buildMobile .Flag ("client-commit" , "Build a specific client commit hash" ).String ()
3737
3838 buildAndroid := build .Command ("android" , "Start an android build" )
39- buildAndroidSkipCI := buildAndroid .Flag ("skip -ci" , "Whether to skip CI" ).Bool ()
39+ buildAndroidAwaitCI := buildAndroid .Flag ("await -ci" , "Whether to check CI" ).Bool ()
4040 buildAndroidAutomated := buildAndroid .Flag ("automated" , "Whether this is a timed build" ).Bool ()
4141 buildAndroidCientCommit := buildAndroid .Flag ("client-commit" , "Build a specific client commit hash" ).String ()
4242 buildIOS := build .Command ("ios" , "Start an ios build" )
4343 buildIOSClean := buildIOS .Flag ("clean" , "Whether to clean first" ).Bool ()
44- buildIOSSkipCI := buildIOS .Flag ("skip -ci" , "Whether to skip CI" ).Bool ()
44+ buildIOSSkipCI := buildIOS .Flag ("await -ci" , "Whether to skip CI" ).Bool ()
4545 buildIOSAutomated := buildIOS .Flag ("automated" , "Whether this is a timed build" ).Bool ()
4646 buildIOSCientCommit := buildIOS .Flag ("client-commit" , "Build a specific client commit hash" ).String ()
4747
@@ -92,7 +92,7 @@ func (k *keybot) Run(bot *slackbot.Bot, channel string, args []string) (string,
9292 return launchd .Stop (* cancelLabel )
9393
9494 case buildMobile .FullCommand ():
95- skipCI := * buildMobileSkipCI
95+ awaitCI := * buildMobileAwaitCI
9696 automated := * buildMobileAutomated
9797 script := launchd.Script {
9898 Label : "keybase.build.mobile" ,
@@ -106,15 +106,15 @@ func (k *keybot) Run(bot *slackbot.Bot, channel string, args []string) (string,
106106 {Key : "NDK_HOME" , Value : NDKPath },
107107 {Key : "ANDROID_NDK" , Value : NDKPath },
108108 {Key : "CLIENT_COMMIT" , Value : * buildMobileCientCommit },
109- {Key : "CHECK_CI" , Value : boolToEnvString (! skipCI )},
109+ {Key : "CHECK_CI" , Value : boolToEnvString (awaitCI )},
110110 {Key : "AUTOMATED_BUILD" , Value : boolToEnvString (automated )},
111111 },
112112 }
113113 env .GoPath = env .PathFromHome ("go-ios" )
114114 return runScript (bot , channel , env , script )
115115
116116 case buildAndroid .FullCommand ():
117- skipCI := * buildAndroidSkipCI
117+ awaitCI := * buildAndroidAwaitCI
118118 automated := * buildAndroidAutomated
119119 script := launchd.Script {
120120 Label : "keybase.build.android" ,
@@ -125,15 +125,15 @@ func (k *keybot) Run(bot *slackbot.Bot, channel string, args []string) (string,
125125 {Key : "ANDROID_NDK_HOME" , Value : NDKPath },
126126 {Key : "ANDROID_NDK" , Value : NDKPath },
127127 {Key : "CLIENT_COMMIT" , Value : * buildAndroidCientCommit },
128- {Key : "CHECK_CI" , Value : boolToEnvString (! skipCI )},
128+ {Key : "CHECK_CI" , Value : boolToEnvString (awaitCI )},
129129 {Key : "AUTOMATED_BUILD" , Value : boolToEnvString (automated )},
130130 },
131131 }
132132 env .GoPath = env .PathFromHome ("go-android" ) // Custom go path for Android so we don't conflict
133133 return runScript (bot , channel , env , script )
134134
135135 case buildIOS .FullCommand ():
136- skipCI := * buildIOSSkipCI
136+ awaitCI := * buildIOSSkipCI
137137 iosClean := * buildIOSClean
138138 automated := * buildIOSAutomated
139139 script := launchd.Script {
@@ -143,7 +143,7 @@ func (k *keybot) Run(bot *slackbot.Bot, channel string, args []string) (string,
143143 EnvVars : []launchd.EnvVar {
144144 {Key : "CLIENT_COMMIT" , Value : * buildIOSCientCommit },
145145 {Key : "CLEAN" , Value : boolToEnvString (iosClean )},
146- {Key : "CHECK_CI" , Value : boolToEnvString (! skipCI )},
146+ {Key : "CHECK_CI" , Value : boolToEnvString (awaitCI )},
147147 {Key : "AUTOMATED_BUILD" , Value : boolToEnvString (automated )},
148148 },
149149 }
0 commit comments