better logs, don't run codesign if no assets are found (#4464)
This commit is contained in:
1 parent
f9f30263d3
commit
66c2dac38f
5 files changed
+119
-54
No files matched your search
@@ -1086,7 +1086,7 @@ We checked the folders:
|
||||
.args(["find-identity", "-v", "-p", "codesigning"])
|
||||
.output()
|
||||
.await
|
||||
.context("Failed to run `security find-identity -v -p codesigning`")
|
||||
.context("Failed to run `security find-identity -v -p codesigning` - is `security` in your path?")
|
||||
.map(|e| {
|
||||
String::from_utf8(e.stdout)
|
||||
.context("Failed to parse `security find-identity -v -p codesigning`")
|
||||
@@ -1191,7 +1191,7 @@ We checked the folders:
|
||||
.arg(self.build.root_dir())
|
||||
.output()
|
||||
.await
|
||||
.context("Failed to codesign the app")?;
|
||||
.context("Failed to codesign the app - is `codesign` in your path?")?;
|
||||
|
||||
if !output.status.success() {
|
||||
bail!(
|
||||
|
||||
Reference in new issue
Block a user