diff --git a/code/code/cmdstd.go b/code/code/cmdstd.go index a179a0b6..d31d7520 100644 --- a/code/code/cmdstd.go +++ b/code/code/cmdstd.go @@ -454,27 +454,19 @@ var StdCmds = Commands{ Dir: "{FileDirPath}", Wait: CmdNoWait, Focus: CmdNoFocus, Confirm: CmdNoConfirm}, - {Cat: "Core", Name: "Version-Release", + {Cat: "Core", Name: "Next-Release", Desc: "increments the patch-level version number and pushes a release tag at this new version", Lang: fi.Any, Cmds: []CmdAndArgs{{Cmd: "core", - Args: []string{"version-release"}}}, - Dir: "{FileDirPath}", - Wait: CmdNoWait, Focus: CmdNoFocus, Confirm: CmdNoConfirm}, - - {Cat: "Core", Name: "Update Version", - Desc: "increments the patch-level version number", - Lang: fi.Any, - Cmds: []CmdAndArgs{{Cmd: "core", - Args: []string{"update-version"}}}, + Args: []string{"next-release"}}}, Dir: "{FileDirPath}", Wait: CmdNoWait, Focus: CmdNoFocus, Confirm: CmdNoConfirm}, {Cat: "Core", Name: "Release", - Desc: "pushes a release tag at current version", + Desc: "sets the version to the given value at the prompt and pushes a release tag at this version", Lang: fi.Any, Cmds: []CmdAndArgs{{Cmd: "core", - Args: []string{"release"}}}, + Args: []string{"release", "{PromptString1}"}}}, Dir: "{FileDirPath}", Wait: CmdNoWait, Focus: CmdNoFocus, Confirm: CmdNoConfirm}, diff --git a/code/codev/texteditors.go b/code/codev/texteditors.go index c9562406..6bde4865 100644 --- a/code/codev/texteditors.go +++ b/code/codev/texteditors.go @@ -265,6 +265,8 @@ func (ge *CodeView) UpdateTextButtons() { txnm = dirs.DirAndFile(string(tv.Buf.Filename)) if tv.Buf.IsNotSaved() { txnm += " *" + } else { + txnm += " " } } sel := ati == i