Fix publishing the release in the deploy stage
[ci skip]
This commit is contained in:
6
.github/deploy
vendored
6
.github/deploy
vendored
@@ -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 = ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user