Skip to content

Commit

Permalink
Prepare for 1.4.2 release (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Oct 25, 2023
1 parent dfef890 commit 1372552
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,11 @@
# v1.4.2:

### Fixes
- [Bug #574](https://github.com/google/osv-scanner/issues/574)
Support versions with build metadata in `yarn.lock` files
- [Bug #599](https://github.com/google/osv-scanner/issues/599)
Add name field to sarif rule output

# v1.4.1:

### Features
Expand Down
6 changes: 3 additions & 3 deletions cmd/osv-scanner/main_test.go
Expand Up @@ -735,7 +735,7 @@ func TestRun_GithubActions(t *testing.T) {
name: "scanning osv-scanner custom format output json",
args: []string{"", "-L", "osv-scanner:./fixtures/locks-insecure/osv-scanner-flutter-deps.json", "--format=sarif"},
wantExitCode: 1,
wantStdout: `
wantStdout: fmt.Sprint(`
{
"version": "2.1.0",
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
Expand Down Expand Up @@ -783,7 +783,7 @@ func TestRun_GithubActions(t *testing.T) {
}
}
],
"version": "1.4.1"
"version": "`, version.OSVVersion, `"
}
},
"artifacts": [
Expand Down Expand Up @@ -832,7 +832,7 @@ func TestRun_GithubActions(t *testing.T) {
]
}
]
}`,
}`),
wantStderr: `
Scanned <rootdir>/fixtures/locks-insecure/osv-scanner-flutter-deps.json file as a osv-scanner and found 3 packages
`,
Expand Down
2 changes: 1 addition & 1 deletion internal/output/fixtures/test-vuln-results-a.sarif
Expand Up @@ -49,7 +49,7 @@
}
}
],
"version": "1.4.1"
"version": "1.4.2"
}
},
"artifacts": [
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
@@ -1,4 +1,4 @@
package version

// OSVVersion is the current release version, you should update this variable when doing a release
var OSVVersion = "1.4.1"
var OSVVersion = "1.4.2"

0 comments on commit 1372552

Please sign in to comment.