From d7a9819350f450041fc58d6f92cf700370ac2b17 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 13 Feb 2019 20:52:30 -0500 Subject: [PATCH] Fix publishing the release in the deploy stage [ci skip] --- .github/deploy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/deploy b/.github/deploy index 05c30d5..83e9fe4 100755 --- a/.github/deploy +++ b/.github/deploy @@ -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 { struct Input: Encodable { - var tag_name: String { return tag } - var name: String { return tag } + let tag_name = tag + let name = tag let body = "" }