Modify Makefile to correctly create notebook tar file for releases
PROJECT = gammapy
CYTHON ?= cython
+version = dev
+release = $(version)
help:
@echo ''
@@ -97,7 +99,7 @@ docs-sphinx:
cd docs && python -m sphinx . _build/html -b html -j auto
docs-all:
- python -m gammapy jupyter tar --out docs/_downloads/notebooks-dev.tar
+ python -m gammapy jupyter tar --out docs/_downloads/notebooks-$(release).tar
python -m gammapy.utils.notebooks_process --src="$(src)"
cd docs && python -m sphinx . _build/html -b html -j auto
python -m gammapy.utils.notebooks_links --src="$(src)"
