mirror of https://github.com/ceph/go-ceph
makefile: use placeholder versions for api-update rule
In order to simplify the workflow for contributors we'll continue to ask people to run `make api-update` when contributing new APIs. This will record the API in our api-status files. However, it will now use a placeholder value without a real version number. If a PR is filed and is not accepted before the next scheduled release the maintenance team will not have to ask the contributor to update the API versions to correct the numbers. Instead, we need to run the new `make api-fix-versions` rule at least once before a release to replace the placeholder versions with real version numbers. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
d6bf51115d
commit
7abe5a239a
6
Makefile
6
Makefile
|
@ -266,8 +266,12 @@ api-check: implements-json
|
||||||
./contrib/apiage.py
|
./contrib/apiage.py
|
||||||
|
|
||||||
api-update: implements-json
|
api-update: implements-json
|
||||||
./contrib/apiage.py --mode=update \
|
./contrib/apiage.py --mode=update --placeholder-versions
|
||||||
|
|
||||||
|
api-fix-versions:
|
||||||
|
./contrib/apiage.py --mode=fix-versions \
|
||||||
--current-tag="$$(git describe --tags --abbrev=0)"
|
--current-tag="$$(git describe --tags --abbrev=0)"
|
||||||
|
./contrib/apiage.py --mode=write-doc
|
||||||
|
|
||||||
api-doc:
|
api-doc:
|
||||||
./contrib/apiage.py --mode=write-doc
|
./contrib/apiage.py --mode=write-doc
|
||||||
|
|
Loading…
Reference in New Issue