Documentation
¶
Index ¶
Constants ¶
View Source
const (
MinimumSpecDocVersion = 59
)
Variables ¶
View Source
var ( ErrorBuildIsNotReadyForRelease = errors.New("the build does not satisfy release criteria") ErrorNoArtifactFound = errors.New("no artifact found") )
Functions ¶
This section is empty.
Types ¶
type Candidate ¶
type Doc ¶
type Doc struct {
rc_recipe.RemarkSecret
Peer gh_conn.ConnGithubPublic
}
type Metadata ¶
type Metadata struct {
// Release version
Version *es_version.Version `json:"release_major"`
// Tag name like "90.8.991"
TagName string `json:"version_full" path:"tag_name"`
// Release page url like "https://github.com/watermint/toolbox/releases/tag/90.8.991"
ReleasePage string `json:"release_page" path:"html_url"`
// Release name like "Release 90.8.991"
ReleaseName string `json:"release_name" path:"name"`
// Publish date like "2021-04-30T07:24:33Z"
PublishedAt string `json:"published_at" path:"published_at"`
// Draft flag
Draft bool `json:"draft" path:"draft"`
// Pre release flag
PreRelease bool `json:"pre_release" path:"prerelease"`
// Release notes
ReleaseNotes string `json:"release_notes" path:"body"`
}
type Publish ¶
type Publish struct {
rc_recipe.RemarkConsole
rc_recipe.RemarkSecret
ArtifactPath mo_path2.FileSystemPath
Branch string
ConnGithub gh_conn.ConnGithubRepo
SkipTests bool
Recipe *test.Recipe
Formula *homebrew.Formula
HeadingReleaseTheme app_msg.Message
HeadingChanges app_msg.Message
ListSpecChange app_msg.Message
HeadingDocument app_msg.Message
ListReadme app_msg.Message
HeadingBinary app_msg.Message
BinaryTableHeaderFilename app_msg.Message
BinaryTableHeaderSize app_msg.Message
BinaryTableHeaderMD5 app_msg.Message
BinaryTableHeaderSHA256 app_msg.Message
TagCommitMessage app_msg.Message
ReleaseName app_msg.Message
ReleaseNameBeta app_msg.Message
ReleaseNameDev app_msg.Message
}
Click to show internal directories.
Click to hide internal directories.