diff --git a/main.go b/main.go index c136f33..0be59fb 100644 --- a/main.go +++ b/main.go @@ -463,8 +463,9 @@ func exportAPK(signedAPKPaths []string, joinedAPKOutputPaths string) { if err := tools.ExportEnvironmentWithEnvman("BITRISE_APK_PATH", joinedAPKOutputPaths); err != nil { log.Warnf("Failed to export APK list (%s), error: %s", joinedAPKOutputPaths, err) + } else { + log.Donef("The Signed APK path is now available in the Environment Variable: BITRISE_APK_PATH (value: %s)", joinedAPKOutputPaths) } - log.Donef("he Signed APK path is now available in the Environment Variable: BITRISE_APK_PATH (value: %s)", joinedAPKOutputPaths) } func exportAAB(signedAABPaths []string, joinedAABOutputPaths string) { @@ -482,6 +483,7 @@ func exportAAB(signedAABPaths []string, joinedAABOutputPaths string) { if err := tools.ExportEnvironmentWithEnvman("BITRISE_AAB_PATH", joinedAABOutputPaths); err != nil { log.Warnf("Failed to export AAB list (%s), error: %s", joinedAABOutputPaths, err) + } else { + log.Donef("The Signed AAB path is now available in the Environment Variable: BITRISE_AAB_PATH (value: %s)", joinedAABOutputPaths) } - log.Donef("he Signed AAB path is now available in the Environment Variable: BITRISE_AAB_PATH (value: %s)", joinedAABOutputPaths) }