forked from toolshed/abra
refactor!: upgrade/rollback vertical render / ui fixes
See toolshed/organising#658
This commit is contained in:
@ -6,6 +6,7 @@ import (
|
||||
"path"
|
||||
|
||||
"coopcloud.tech/abra/pkg/envfile"
|
||||
"coopcloud.tech/abra/pkg/formatter"
|
||||
)
|
||||
|
||||
func (r Recipe) SampleEnv() (map[string]string, error) {
|
||||
@ -29,7 +30,10 @@ func (r Recipe) GetReleaseNotes(version string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
withTitle := fmt.Sprintf("%s release notes:\n%s", version, string(releaseNotes))
|
||||
|
||||
title := formatter.BoldStyle.Render(fmt.Sprintf("%s release notes:", version))
|
||||
withTitle := fmt.Sprintf("%s\n%s\n", title, releaseNotes)
|
||||
|
||||
return withTitle, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user