Skip to content
Snippets Groups Projects
Verified Commit 88325eaf authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

Documentation & Makfile

parent fd14cc40
Branches
Tags
No related merge requests found
......@@ -114,4 +114,18 @@ tag-major-version: next-major-version
$(eval PROJECT_VERSION := $(shell cat $(RELEASE_FILE) | jq -r .version))
git tag -a v$(PROJECT_VERSION) -m "Version $(PROJECT_VERSION)"
GO_MOD_FILE := $(SOURCE_PATH)go.mod
ifeq ($(shell test -e $(GO_MOD_FILE) && echo -n yes),yes)
GO_CURRENT_MODULE := $(shell cat $(GO_MOD_FILE) | head -n1 | cut -d" " -f2)
# go install github.com/google/go-licenses@latest
EXECUTABLES = $(EXECUTABLES:-) go-licenses;
endif
.PHONY: fetch-licenses
## Fetch licenses for all modules
fetch-licenses:
go-licenses save $(GO_CURRENT_MODULE) --ignore gitlab.schukai.com --force --save_path $(PROJECT_ROOT)licenses/ ; cd -
......@@ -136,7 +136,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) {
```
## Changelog
## Change Log
### 1.1.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment