Skip to content

Commit f189a38

Browse files
authored
finish message update (#57)
1 parent ce23d30 commit f189a38

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

cmd/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ func exportCodesignFiles(toolName, archivePath, outputDirPath string) error {
591591
}
592592
fmt.Println("Opened the directory in Finder.")
593593

594-
printFinished()
594+
printFinished(certificatesOnly)
595595

596596
return nil
597597
}

cmd/print.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ func printFinishedWithError(toolName, format string, args ...interface{}) error
2323
return fmt.Errorf(colorstring.Red("Error: ")+format, args...)
2424
}
2525

26-
func printFinished() {
26+
func printFinished(certsOnly bool) {
2727
fmt.Println()
2828
log.Successf("That's all.")
29-
log.Warnf("You just have to upload the found code signing files (.p12 and .mobileprovision) and you'll be good to go!")
29+
if certsOnly {
30+
log.Warnf("You just have to upload the found certificates (.p12) and you'll be good to go!")
31+
} else {
32+
log.Warnf("You just have to upload the found certificates (.p12) and provisioning profiles (.mobileprovision) and you'll be good to go!")
33+
}
3034
fmt.Println()
3135
}
3236

0 commit comments

Comments
 (0)