Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Generate release cycle SVG during deploy
  • Loading branch information
hugovk committed Jan 22, 2023
commit 59c2bbcb716ab22389951f8bbf875bfa89c97f82
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ __pycache__/
# Distribution / packaging
.Python
env/
ENV/
venv/
build/
develop-eggs/
Expand Down Expand Up @@ -80,13 +81,11 @@ celerybeat-schedule
# dotenv
.env

# virtualenv
venv/
ENV/
venv/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject

# Generated SVG file
include/release-cycle.svg
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ html: ensure-venv versions
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

.PHONY: dirhtml
dirhtml: ensure-venv
dirhtml: ensure-venv versions
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
Expand Down Expand Up @@ -189,14 +189,14 @@ serve:
"(see https://github.com/python/cpython/issues/80510)"

include/branches.csv: include/release-cycle.json
$(PYTHON) _tools/generate_release_cycle.py
$(VENVDIR)/bin/python3 _tools/generate_release_cycle.py

include/end-of-life.csv: include/release-cycle.json
$(PYTHON) _tools/generate_release_cycle.py
$(VENVDIR)/bin/python3 _tools/generate_release_cycle.py

include/release-cycle.svg: include/release-cycle.json
$(PYTHON) _tools/generate_release_cycle.py
$(VENVDIR)/bin/python3 _tools/generate_release_cycle.py

.PHONY: versions
versions: include/branches.csv include/end-of-life.csv include/release-cycle.svg
versions: venv include/branches.csv include/end-of-life.csv include/release-cycle.svg
@echo Release cycle data generated.
Loading