mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-22 04:08:49 +02:00
todos
This commit is contained in:
parent
8cf148f989
commit
d1c8625672
@ -96,6 +96,7 @@ func dataFor(version string, config config.ProjectConfig, client *github.Client)
|
||||
} else {
|
||||
description = *rep.Description
|
||||
}
|
||||
// TODO deal with `-`, `_` and other stuff on binary name
|
||||
return templateData{
|
||||
Name: strings.Title(config.BinaryName),
|
||||
Desc: description,
|
||||
|
@ -24,6 +24,7 @@ func Release(version, diff string, config config.ProjectConfig) error {
|
||||
repo := strings.Split(config.Repo, "/")[1]
|
||||
|
||||
// TODO update release if it already exists
|
||||
// TODO add `go version` to the description
|
||||
r, _, err := client.Repositories.CreateRelease(owner, repo, &github.RepositoryRelease{
|
||||
Name: github.String(version),
|
||||
TagName: github.String(version),
|
||||
|
Loading…
x
Reference in New Issue
Block a user