File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11# gh-milestone
22
3+ ## 1.1.1
4+
5+ ### Patch Changes
6+
7+ - Strings with mixed cases are now recognized and handled in ` edit ` subcommand.
8+
39## 1.1.0
410
511### Minor Changes
Original file line number Diff line number Diff line change 88 "github.com/valeriobelli/gh-milestone/internal/pkg/utils/cmdutil"
99)
1010
11- const version = "v1.1.0 "
11+ const version = "v1.1.1 "
1212
1313func Execute () {
1414 var rootCommand = & cobra.Command {
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ func (flag *stateFlag) GetValue() *string {
2828
2929func (flag * stateFlag ) Set (value string ) error {
3030 if slices .Contains (constants .CreateMilestoneStates , strings .ToUpper (value )) {
31- * flag = stateFlag {string : & value }
31+ loweredValue := strings .ToLower (value )
32+
33+ * flag = stateFlag {string : & loweredValue }
3234
3335 return nil
3436 }
You can’t perform that action at this time.
0 commit comments