Fix publishing the release in the deploy stage

[ci skip]
This commit is contained in:
Max Howell
2019-02-13 20:52:30 -05:00
parent 24a54c2ee0
commit d7a9819350

6
.github/deploy vendored
View File

@@ -17,7 +17,7 @@ func fatal(message: String) -> Never {
exit(1)
}
func fatal(error: Error) -> Never {
fatal(message: error.legibleLocalizedDescription)
fatal(message: "\(error.legibleLocalizedDescription)\n\n\(error.legibleDescription)")
}
guard let licenseFile = try Path.cwd.ls().files.first(where: {
@@ -140,8 +140,8 @@ func podspec(repo: Repo, user: User, pkg: Package) -> (Substring, String) {
func publishRelease() throws -> Promise<Void> {
struct Input: Encodable {
var tag_name: String { return tag }
var name: String { return tag }
let tag_name = tag
let name = tag
let body = ""
}