mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
Fix homebrew release (#242)
This commit is contained in:
parent
4079dd4db9
commit
2c80340e19
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -122,7 +122,7 @@ endif
|
|||
@(cd "${cliHomebrewDir}" && \
|
||||
./release.sh \
|
||||
"$(version)" \
|
||||
"${shasum -a 256 "${outputDir}/dnote_$(version)_darwin_amd64.tar.gz" | cut -d ' ' -f 1}" \
|
||||
"${shasum -a 256 "${cliOutputDir}/dnote_$(version)_darwin_amd64.tar.gz" | cut -d ' ' -f 1}" \
|
||||
)
|
||||
.PHONY: release-cli
|
||||
|
||||
|
|
|
|||
|
|
@ -97,6 +97,8 @@ func Do(ctx context.DnoteCtx, email, password string) error {
|
|||
|
||||
func newRun(ctx context.DnoteCtx) infra.RunEFunc {
|
||||
return func(cmd *cobra.Command, args []string) error {
|
||||
log.Plain("Welcome to Dnote Pro (https://dnote.io).\n")
|
||||
|
||||
var email, password string
|
||||
if err := ui.PromptInput("email", &email); err != nil {
|
||||
return errors.Wrap(err, "getting email input")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue