diff --git a/Makefile b/Makefile index 9c50c21..46cefb4 100644 --- a/Makefile +++ b/Makefile @@ -18,5 +18,5 @@ lint: golangci-lint run license: - go install github.com/AbsaOSS/golic@v0.6.0 + go install github.com/AbsaOSS/golic@latest golic inject -c="2022 Absa Group Limited" diff --git a/README.md b/README.md index c9ab1a7..ec635f2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ golic inject -c="2022 MyCompany ltd." --dry Install and run **GOLIC** ```shell # GO 1.16 -go install github.com/AbsaOSS/golic@v0.6.0 +go install github.com/AbsaOSS/golic@latest golic version ``` Golic has two configurations `.licignore` and `.golic.yaml`. The first determines which @@ -72,7 +72,7 @@ Usually you want to find out that something went wrong during CI / CD. For examp In terms of golic, we want the build pipe to end with an error if we find at least one file with a missing license. The `-x` argument handles that. ```shell - go install github.com/AbsaOSS/golic@v0.6.0 + go install github.com/AbsaOSS/golic@latest golic inject --dry -x -t apache2 ``` diff --git a/cmd/version.go b/cmd/version.go index a20af2a..fb2e021 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -23,7 +23,7 @@ import ( "github.com/spf13/cobra" ) -const version = "v0.6.0" +const version = "v0.7.0" var versionCmd = &cobra.Command{ Use: "version",