mirror of https://github.com/ceph/go-ceph
makefile: add api-report-updates target
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
e5f0dbcfea
commit
7b73ae7bdd
7
Makefile
7
Makefile
|
@ -276,6 +276,13 @@ api-fix-versions:
|
||||||
api-doc:
|
api-doc:
|
||||||
./contrib/apiage.py --mode=write-doc
|
./contrib/apiage.py --mode=write-doc
|
||||||
|
|
||||||
|
api-report-updates: $(RESULTS_DIR)
|
||||||
|
./contrib/apiage.py --mode=find-updates \
|
||||||
|
--current-tag="$$(git describe --tags --abbrev=0)" \
|
||||||
|
> $(RESULTS_DIR)/updates-found.json
|
||||||
|
./contrib/apiage.py --mode=updates-to-markdown \
|
||||||
|
< $(RESULTS_DIR)/updates-found.json > $(RESULTS_DIR)/updates-found.md
|
||||||
|
|
||||||
ifeq ($(RESULTS_DIR),)
|
ifeq ($(RESULTS_DIR),)
|
||||||
IMPLEMENTS_DIR:=$(PWD)/_results
|
IMPLEMENTS_DIR:=$(PWD)/_results
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue