mirror of
https://github.com/ceph/go-ceph
synced 2024-12-25 15:42:30 +00:00
makefile: add rules to help produce an issue template
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
77ad70fd0c
commit
a53195cce2
13
Makefile
13
Makefile
@ -281,13 +281,24 @@ api-fix-versions:
|
||||
api-doc:
|
||||
./contrib/apiage.py --mode=write-doc
|
||||
|
||||
api-report-updates: $(RESULTS_DIR)
|
||||
.PHONY: api-check-updates
|
||||
api-check-updates: $(RESULTS_DIR)
|
||||
./contrib/apiage.py --mode=find-updates \
|
||||
--current-tag="$$(git describe --tags --abbrev=0)" \
|
||||
> $(RESULTS_DIR)/updates-found.json
|
||||
|
||||
.PHONY: api-report-updates
|
||||
api-report-updates: api-check-updates
|
||||
./contrib/apiage.py --mode=updates-to-markdown \
|
||||
< $(RESULTS_DIR)/updates-found.json > $(RESULTS_DIR)/updates-found.md
|
||||
|
||||
.PHONY: api-report-issuetemplate
|
||||
api-report-issuetemplate: api-check-updates
|
||||
./contrib/apiage.py --mode=updates-to-issuetemplate \
|
||||
--current-tag="$$(git describe --tags --abbrev=0)" \
|
||||
< $(RESULTS_DIR)/updates-found.json \
|
||||
> $(RESULTS_DIR)/issue.md
|
||||
|
||||
ifeq ($(RESULTS_DIR),)
|
||||
IMPLEMENTS_DIR:=$(PWD)/_results
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user