Skip to content

Commit

Permalink
Merge pull request #69 from nabbar/fix_artifact_latest_minor
Browse files Browse the repository at this point in the history
Fix Artifact Helper
  • Loading branch information
Nicolas JUHEL authored Oct 12, 2020
2 parents 8d02293 + 191abf0 commit 0672878
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
- name: Check tests
continue-on-error: true
run: |
go version
ginkgo version
for PKG in $(find $(pwd) -type f -name "*_suite_test.go" | sort -u );
do
cd $(dirname $PKG);
Expand Down
2 changes: 1 addition & 1 deletion artifact/client/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (g *ClientHelper) GetLatestMinor(major, minor int) (release *version.Versio
return
}

for i := 1; i < len(vers); i++ {
for i := 0; i < len(vers); i++ {
if vers[i] == nil {
continue
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ require (
github.com/spf13/jwalterweatherman v1.1.0
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
github.com/stretchr/testify v1.5.1 // indirect
github.com/ugorji/go v1.1.10 // indirect
github.com/ugorji/go v1.1.11 // indirect
github.com/vbauerster/mpb/v5 v5.3.0
github.com/xanzy/go-gitlab v0.38.1
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0
Expand Down

0 comments on commit 0672878

Please sign in to comment.