mirror of https://github.com/zcash/zips.git
protocol/Makefile: add new .pdf files if needed.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
adced97391
commit
894c979a3d
|
@ -30,6 +30,7 @@ else
|
|||
$(eval TAG := $(shell git tag --points-at HEAD))
|
||||
if [[ "$(shell git rev-parse --abbrev-ref HEAD)" != "master" ]]; then echo "Not on master."; exit 1; fi
|
||||
$(MAKE) clean all
|
||||
git add *.pdf
|
||||
git commit -m "Regenerate PDFs." *.pdf
|
||||
if [[ "$(shell git diff HEAD |wc -l)" != "0" ]]; then echo "The working tree is not clean."; exit 1; fi
|
||||
git tag "v$(TAG)"
|
||||
|
|
Loading…
Reference in New Issue