diff --git a/gradle.properties b/gradle.properties index ff4ad31..b9c3afd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version = 6.0.0 +version = 6.0.1 diff --git a/open-vulnerability-clients/README.md b/open-vulnerability-clients/README.md index 9407073..5683c78 100644 --- a/open-vulnerability-clients/README.md +++ b/open-vulnerability-clients/README.md @@ -39,14 +39,14 @@ See API usage examples in the [open-vulnerability-store](https://github.com/jere io.github.jeremylong open-vulnerability-clients - 6.0.0 + 6.0.1 ``` ### gradle ```groovy -implementation 'io.github.jeremylong:open-vulnerability-clients:6.0.0' +implementation 'io.github.jeremylong:open-vulnerability-clients:6.0.1' ``` ### api usage diff --git a/vulnz/README.md b/vulnz/README.md index 79d6e90..2c6c0ef 100644 --- a/vulnz/README.md +++ b/vulnz/README.md @@ -12,7 +12,7 @@ After running `install` you may need to restart your shell for the completion to ```bash ./gradlew vulnz:build cd vulnz/build/libs -./vulnz-6.0.0.jar install +./vulnz-6.0.1.jar install vulnz cve --cveId CVE-2021-44228 --prettyPrint ``` @@ -76,7 +76,7 @@ export JAVA_OPTS="-Xmx2g" Alternatively, run the CLI using the `-Xmx2g` argument: ```bash -java -Xmx2g -jar ./vulnz-6.0.0.jar +java -Xmx2g -jar ./vulnz-6.0.1.jar ``` ### Creating the Cache @@ -91,7 +91,7 @@ vulnz cve --cache --directory ./cache Alternatively, without using the above install command: ```bash -./vulnz-6.0.0.jar cve --cache --directory ./cache +./vulnz-6.0.1.jar cve --cache --directory ./cache cd cache for file in *.json; do gzip -k "${file}"; done ``` @@ -114,16 +114,16 @@ There are a couple of ENV vars ```bash # replace the NVD_API_KEY with your NVD api key -docker run --name vulnz -e NVD_API_KEY=myapikey jeremylong/open-vulnerability-data-mirror:6.0.0 +docker run --name vulnz -e NVD_API_KEY=myapikey jeremylong/open-vulnerability-data-mirror:6.0.1 # if you like use a volume -docker run --name vulnz -e NVD_API_KEY=myapikey -v cache:/usr/local/apache2/htdocs ghcr.io/jeremylong/vulnz:6.0.0 +docker run --name vulnz -e NVD_API_KEY=myapikey -v cache:/usr/local/apache2/htdocs ghcr.io/jeremylong/vulnz:6.0.1 # adjust the memory usage -docker run --name vulnz -e JAVA_OPT=-Xmx2g jeremylong/open-vulnerability-data-mirror:6.0.0 +docker run --name vulnz -e JAVA_OPT=-Xmx2g jeremylong/open-vulnerability-data-mirror:6.0.1 # you can also adjust the delay -docker run --name vulnz -e NVD_API_KEY=myapikey -e DELAY=3000 jeremylong/open-vulnerability-data-mirror:6.0.0 +docker run --name vulnz -e NVD_API_KEY=myapikey -e DELAY=3000 jeremylong/open-vulnerability-data-mirror:6.0.1 ``` @@ -135,10 +135,10 @@ docker exec -u mirror vulnz /mirror.sh ### Build -Assuming the current version is `6.0.0` +Assuming the current version is `6.0.1` ```bash -export TARGET_VERSION=6.0.0 +export TARGET_VERSION=6.0.1 ./gradlew vulnz:build -Pversion=$TARGET_VERSION docker build vulnz/ -t ghcr.io/jeremylong/vulnz:$TARGET_VERSION --build-arg BUILD_VERSION=$TARGET_VERSION ``` @@ -147,7 +147,7 @@ docker build vulnz/ -t ghcr.io/jeremylong/vulnz:$TARGET_VERSION --build-arg BUIL ```bash # checkout the repo -git tag vulnz/6.0.0 +git tag vulnz/6.0.1 git push --tags -# this will build vulnz 6.0.0 on publish the docker image tagged 6.0.0 +# this will build vulnz 6.0.1 on publish the docker image tagged 6.0.1 ```