Releases: AbsaOSS/golic
Releases · AbsaOSS/golic
v0.4.1
v0.4.0
Golic uses master configuration by default.
The master configuration is accessible from the URL, and if you need to change it, use the -u
flag or create PR.
However, it is much better to create a local configuration that overrides the master configuration settings. All
you have to do is create a .golic.yaml
file in the project root, or use the -p
flag.
Example below overrides master configuration by custom licenses
# .golic.yaml
golic:
licenses:
apache2: |
Copyright {{copyright}}
This is my custom license text
apacheX: |
Copyright {{copyright}}
for more details see https://github.com/mycompany/myproject/LICENSE
v0.3.1
v0.3.0
v0.2.0
v0.1.2
inject command implementation:
- injects license into file filtered by
.licignore
. - it generates licenses based on configuration
- configuration can be extended by PR or it can use custom configuration (
-u
argument) - requires only copyright (
-c
) argument
Examples:
golic inject -c="2021 ABSA Group Limited" --dry
- In case you don't have compiled version:
GO111MODULE=on GOSUMDB=off go get github.com/AbsaOSS/[email protected]
$(GOBIN)/golic inject -c="2021 MyCompany ltd." --dry
v0.1.1
inject command implementation:
- injects license into file filtered by
.licignore
. - licenses are generated based on configuration
- configuration can be extended by PR or custom configuration can be provided (
-u
argument)
Examples:
-
golic inject -c="2021 ABSA Group Limited" -l=.licignore --dry
-
golic inject -c="2021 ABSA Group Limited" -l=.licignore -u=https://<something>/config.yaml
-
In case you don't have compiled version:
GO111MODULE=on GOSUMDB=off go get github.com/AbsaOSS/[email protected]
$(GOBIN)/golic inject -c="2021 MyCompany Group Limited" -l=.licignore --dry
v0.1.0
inject command implementation:
- injects license into file filtered by
.licignore
. - licenses are generated based on configuration
- configuration can be extended by PR or custom configuration can be provided (
-u
argument)
Examples:
golic inject -c="2021 ABSA Group Limited" -l=.licignore --dry
golic inject -c="2021 ABSA Group Limited" -l=.licignore -u=https://<something>/config.yaml