Skip to content

Commit

Permalink
chore: update main.go & CHANGELOG.md (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox authored Jul 25, 2024
1 parent b8c4618 commit 907396c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.23.1] - 2024-07-28

### Added

- Add colorlog detector (#146)
- Add a line break to the end of the output of `lip --version`

## [0.23.0] - 2024-07-12

### Added
Expand Down Expand Up @@ -438,7 +445,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#134]: https://github.com/lippkg/lip/issues/134
[#140]: https://github.com/lippkg/lip/issues/140

[Unreleased]: https://github.com/lippkg/lip/compare/v0.23.0...HEAD
[Unreleased]: https://github.com/lippkg/lip/compare/v0.23.1...HEAD
[0.23.1]: https://github.com/lippkg/lip/compare/v0.23.0...v0.23.1
[0.23.0]: https://github.com/lippkg/lip/compare/v0.22.0...v0.23.0
[0.22.0]: https://github.com/lippkg/lip/compare/v0.21.2...v0.22.0
[0.21.2]: https://github.com/lippkg/lip/compare/v0.21.1...v0.21.2
Expand Down
7 changes: 4 additions & 3 deletions cmd/lip/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ package main

import (
"os"
"strings"
"reflect"
"runtime"
"strings"

nested "github.com/antonfisher/nested-logrus-formatter"
"github.com/blang/semver/v4"
"github.com/lippkg/lip/internal/cmd/cmdlip"
"github.com/lippkg/lip/internal/context"
"golang.org/x/term"
log "github.com/sirupsen/logrus"
"golang.org/x/term"
)

var defaultConfig context.Config = context.Config{
Expand All @@ -19,7 +20,7 @@ var defaultConfig context.Config = context.Config{
ProxyURL: "",
}

var lipVersion semver.Version = semver.MustParse("0.23.0")
var lipVersion semver.Version = semver.MustParse("0.23.1")

func IsStdoutAndStderrSupportAnsi() bool {
if os.Getenv("NO_COLOR") != "" {
Expand Down

0 comments on commit 907396c

Please sign in to comment.