Skip to content

Commit

Permalink
Merge pull request #49 from hmiyado/renovate/github.com-urfave-cli-v2…
Browse files Browse the repository at this point in the history
…-2.x
  • Loading branch information
hmiyado authored Jan 1, 2023
2 parents 2856f0d + 875eb1e commit a1ebd78
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/go-git/go-git/v5 v5.4.2
github.com/urfave/cli/v2 v2.23.5
github.com/urfave/cli/v2 v2.23.7
)

require (
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ github.com/urfave/cli/v2 v2.23.0 h1:pkly7gKIeYv3olPAeNajNpLjeJrmTPYCoZWaV+2VfvE=
github.com/urfave/cli/v2 v2.23.0/go.mod h1:1CNUng3PtjQMtRzJO4FMXBQvkGtuYRxxiR9xMa7jMwI=
github.com/urfave/cli/v2 v2.23.5 h1:xbrU7tAYviSpqeR3X4nEFWUdB/uDZ6DE+HxmRU7Xtyw=
github.com/urfave/cli/v2 v2.23.5/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
github.com/urfave/cli/v2 v2.23.7 h1:YHDQ46s3VghFHFf1DdF+Sh7H4RqhcM+t0TmZRJx4oJY=
github.com/urfave/cli/v2 v2.23.7/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI=
github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0=
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU=
Expand Down
2 changes: 1 addition & 1 deletion internal/core/git_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ func TestQueryTagsShouldHaveTags(t *testing.T) {
tags := QueryTags(repository)
expectedTagNum := 60

if len(tags) != expectedTagNum {
if len(tags) < expectedTagNum {
for i := 0; i < len(tags); i++ {
if tags[i] == nil {
t.Logf("tags[%d] = nil", i)
Expand Down
3 changes: 2 additions & 1 deletion internal/core/query_releases.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ func getIsRestoredAndLeadTimeForChangesByLocalGit(
option *Option,
) (isRestored bool, leadTimeForChanges time.Duration) {
source := sources[i]
since := "1900-01-01"
// Epoch time
since := "1970-01-01T00:00:00+0000"
if i < len(sources)-1 {
preReleaseCommit := sources[i+1].commit
since = preReleaseCommit.Committer.When.Add(time.Second).Format("2006-01-02T15:04:05")
Expand Down

0 comments on commit a1ebd78

Please sign in to comment.