diff --git a/README.md b/README.md index 0b8637c..b0728bc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # hookz -![GitHub release (latest by date)](https://img.shields.io/github/v/release/devops-kung-fu/hookz) [![Go Report Card](https://goreportcard.com/badge/github.com/devops-kung-fu/hookz)](https://goreportcard.com/report/github.com/devops-kung-fu/hookz) [![codecov](https://codecov.io/gh/devops-kung-fu/hookz/branch/main/graph/badge.svg?token=P9WBOBQTOB)](https://codecov.io/gh/devops-kung-fu/hookz) +![GitHub release (latest by date)](https://img.shields.io/github/v/release/devops-kung-fu/hookz) [![Go Report Card](https://goreportcard.com/badge/github.com/devops-kung-fu/hookz)](https://goreportcard.com/report/github.com/devops-kung-fu/hookz) [![codecov](https://codecov.io/gh/devops-kung-fu/hookz/branch/main/graph/badge.svg?token=P9WBOBQTOB)](https://codecov.io/gh/devops-kung-fu/hookz) [![SBOM](https://img.shields.io/badge/CyloneDX-SBoM-informational)](hookz-sbom.json) Manages git hooks inside a local git repository based on a configuration. @@ -41,8 +41,8 @@ To install ```hookz```, [download the latest release](https://github.com/devops Linux Example: ```bash -sudo chmod +x hookz-2.2.0-linux-amd64 -sudo mv hookz-2.2.0-linux-amd64 /usr/local/bin/hookz +sudo chmod +x hookz-2.2.1-linux-amd64 +sudo mv hookz-2.2.1-linux-amd64 /usr/local/bin/hookz ``` ## Configuration @@ -52,7 +52,7 @@ Hookz uses a configuration file to generate hooks in your local git repository. ### Example Configuration ``` yaml -version: 2.2.0 +version: 2.2.1 hooks: - type: pre-commit actions: @@ -205,7 +205,7 @@ Check out the collection [here](tackle/README.md). Assumes `terraform` is in your `PATH` for `fmt`. ```yaml -version: 2.2.0 +version: 2.2.1 hooks: - type: pre-commit actions: @@ -228,7 +228,7 @@ hooks: ### NPM ```yaml -version: 2.2.0 +version: 2.2.1 hooks: - type: pre-commit actions: @@ -242,7 +242,7 @@ hooks: ## Software Bill of Materials -```Hookz``` uses the CycloneDx tackle to generate a Software Bill of Materials in CycloneDx format every time a developer commits code to this repository. More information for CycloneDx is available [here](https://cyclonedx.org) +```Hookz``` uses the CycloneDX tackle to generate a Software Bill of Materials in CycloneDX format every time a developer commits code to this repository. More information for CycloneDX is available [here](https://cyclonedx.org) The current SBoM for ```Hookz``` is available [here](hookz-sbom.json). diff --git a/cmd/root.go b/cmd/root.go index 9fcf2bb..9ab2ccc 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -13,7 +13,7 @@ import ( ) var ( - version = "2.2.0" + version = "2.2.1" debug bool verbose bool rootCmd = &cobra.Command{ diff --git a/hookz-sbom.json b/hookz-sbom.json index 2b008b0..e046a37 100644 --- a/hookz-sbom.json +++ b/hookz-sbom.json @@ -1,10 +1,10 @@ { "bomFormat": "CycloneDX", "specVersion": "1.2", - "serialNumber": "urn:uuid:b1bf505c-4895-4010-9c1b-8bd0c71bb115", + "serialNumber": "urn:uuid:5a09a775-906a-4b3c-9f7d-c88864115c32", "version": 1, "metadata": { - "timestamp": "2021-05-19T14:27:45-06:00", + "timestamp": "2021-05-20T09:58:17-06:00", "tools": [ { "vendor": "CycloneDX", @@ -31,11 +31,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/devops-kung-fu/hookz@v0.0.0-20210519141151-dcfca858b1ec", + "bom-ref": "pkg:golang/github.com/devops-kung-fu/hookz@v0.0.0-20210519150311-0306be16fce3", "type": "application", "name": "github.com/devops-kung-fu/hookz", - "version": "v0.0.0-20210519141151-dcfca858b1ec", - "purl": "pkg:golang/github.com/devops-kung-fu/hookz@v0.0.0-20210519141151-dcfca858b1ec", + "version": "v0.0.0-20210519150311-0306be16fce3", + "purl": "pkg:golang/github.com/devops-kung-fu/hookz@v0.0.0-20210519150311-0306be16fce3", "externalReferences": [ { "url": "https://github.com/devops-kung-fu/hookz", @@ -5604,7 +5604,7 @@ "ref": "pkg:golang/rsc.io/binaryregexp@v0.2.0" }, { - "ref": "pkg:golang/github.com/devops-kung-fu/hookz@v0.0.0-20210519141151-dcfca858b1ec", + "ref": "pkg:golang/github.com/devops-kung-fu/hookz@v0.0.0-20210519150311-0306be16fce3", "dependsOn": [ "pkg:golang/github.com/cavaliercoder/grab@v2.0.0", "pkg:golang/github.com/gookit/color@v1.4.2",