@@ -121,24 +121,24 @@ release version: (_assert-legal-version version)
121121
122122# Add a new version tag at a specific commit
123123tag-version-at-commit version commit: (_assert-legal-version version)
124- just check-at-commit {{ commit }}
125- just _tag-skip-check {{ version }} {{ commit }}
124+ just check-at-commit {{commit}}
125+ just _tag-skip-check {{version}} {{commit}}
126126
127127version_regex := '^([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$'
128128
129129_assert-legal-version version:
130- @echo "{{ version }}" | grep -qE '{{ version_regex }}' || ( echo "Error: not a legal version" && false )
130+ @echo "{{version}}" | grep -qE '{{version_regex}}' || ( echo "Error: not a legal version" && false )
131131
132132tmp_rc_dir := '/tmp/rc/' + file_name(justfile_directory()) + '/' + datetime('%s')
133133
134134# Run code checks at a specific commit
135135check-at-commit commit:
136- git worktree add {{ tmp_rc_dir }} --detach {{ commit }}
137- just -f {{ tmp_rc_dir }}/justfile _check || ( git worktree remove -f {{ tmp_rc_dir }} && false )
138- git worktree remove {{ tmp_rc_dir }}
136+ git worktree add {{tmp_rc_dir}} --detach {{commit}}
137+ just -f {{tmp_rc_dir}}/justfile _check || ( git worktree remove -f {{tmp_rc_dir}} && false )
138+ git worktree remove {{tmp_rc_dir}}
139139
140140_tag-skip-check version commit: (_assert-legal-version version)
141- git tag -a v{{ version }} -m "Release v{{ version }}" {{ commit }}
141+ git tag -a v{{version}} -m "Release v{{version}}" {{commit}}
142142
143143{% - endraw %}
144144
@@ -148,12 +148,12 @@ _tag-skip-check version commit: (_assert-legal-version version)
148148# Generate reference pages from docstrings
149149build-docs-ref:
150150 rm -rf docs/reference
151- uv run --python 3.{{ python_max }} --only-group docs scripts/gen_ref_pages.py
151+ uv run --python 3.{{python_max}} --only-group docs scripts/gen_ref_pages.py
152152
153153# Build the documentation
154154build-docs: build-docs-ref
155- uv run --python 3.{{ python_max }} --only-group docs mkdocs build
155+ uv run --python 3.{{python_max}} --only-group docs mkdocs build
156156
157157# Serve the documentation locally
158158serve-docs: build-docs-ref
159- uv run --python 3.{{ python_max }} --only-group docs mkdocs serve
159+ uv run --python 3.{{python_max}} --only-group docs mkdocs serve
0 commit comments