You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swiftTool.observabilityScope.emit(info:"signing the archive at '\(archivePath)'")
165
185
signature =tryself.sign(
166
186
archivePath: archivePath,
167
-
signatureFormat:self.signatureFormat,
168
-
signingIdentity:self.signingIdentity,
169
-
privateKeyPath:self.privateKeyPath,
187
+
configuration: publishConfiguration.signing,
170
188
observabilityScope: swiftTool.observabilityScope
171
189
)
172
190
}
173
191
174
192
// step 4: publish the package
193
+
guard !self.dryRun else{
194
+
print(
195
+
"\(packageIdentity)@\(packageVersion) was successfully prepared for publishing but was not published due to dry run flag. artifacts available at '\(workingDirectory)'."
196
+
)
197
+
return
198
+
}
199
+
175
200
swiftTool.observabilityScope
176
201
.emit(info:"publishing '\(self.packageIdentity)' archive at '\(archivePath)' to '\(registryURL)'")
print("\(packageIdentity)@\(packageVersion) was successfully published to \(registryURL)")
196
221
case.published(.some(let location)):
197
-
print("\(packageIdentity)@\(packageVersion) was successfully published to \(registryURL) and is available at \(location)")
222
+
print(
223
+
"\(packageIdentity)@\(packageVersion) was successfully published to \(registryURL) and is available at \(location)"
224
+
)
198
225
case.processing(let statusURL, _):
199
-
print("\(packageIdentity)@\(packageVersion) was successfully submitted to \(registryURL) and is being processed. Publishing status is available at \(statusURL)")
226
+
print(
227
+
"\(packageIdentity)@\(packageVersion) was successfully submitted to \(registryURL) and is being processed. Publishing status is available at \(statusURL)"
0 commit comments