aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-16 23:43:10 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-16 23:43:10 +0300
commit8ee3a7bdc03f435175d9c5abecfa4e2b5e295264 (patch)
tree82baa4deeafb8152989dfc735511b05841c1d6da /justfile
parent79be292911cea4f617c1994fc4b8fd022f85cab5 (diff)
docs: move next-release docs out of .pi
Diffstat (limited to 'justfile')
-rw-r--r--justfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/justfile b/justfile
index 30fabe1b..794c398b 100644
--- a/justfile
+++ b/justfile
@@ -32,11 +32,11 @@ build:
build-libghostty-vt:
scripts/build_vendored_libghostty_vt.sh
-# Check that public docs and changelog have been finalized from .pi/docs before release
+# Check that public docs and changelog have been finalized from docs/next before release
release-docs-check:
@for file in README.md CONFIGURATION.md INTEGRATIONS.md SOCKET_API.md CHANGELOG.md; do \
- if ! diff -u "$file" ".pi/docs/$file"; then \
- echo "error: $file differs from .pi/docs/$file; finalize release docs before releasing"; \
+ if ! diff -u "$file" "docs/next/$file"; then \
+ echo "error: $file differs from docs/next/$file; finalize release docs before releasing"; \
exit 1; \
fi; \
done
@@ -53,11 +53,11 @@ release version:
fi
just release-docs-check
python3 scripts/changelog.py prepare --version {{version}}
- cp CHANGELOG.md .pi/docs/CHANGELOG.md
+ cp CHANGELOG.md docs/next/CHANGELOG.md
sed -i.bak 's/^version = ".*"/version = "{{version}}"/' Cargo.toml && rm -f Cargo.toml.bak
cargo update -p herdr --offline
just check
- git add CHANGELOG.md .pi/docs/CHANGELOG.md Cargo.toml Cargo.lock
+ git add CHANGELOG.md docs/next/CHANGELOG.md Cargo.toml Cargo.lock
git diff --cached --quiet || git commit -m "release: v{{version}}"
git tag -a v{{version}} -m "v{{version}}"
git push --follow-tags