From 851566d7afa52a5982e7a601984b85f3778cf4d0 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Tue, 8 Nov 2022 15:17:00 +0300 Subject: Add HOWTORELEASE.md --- HOWTORELEASE.md | 6 ++++++ tools/docs-push-gh-pages | 1 + 2 files changed, 7 insertions(+) create mode 100644 HOWTORELEASE.md diff --git a/HOWTORELEASE.md b/HOWTORELEASE.md new file mode 100644 index 0000000..d58bf69 --- /dev/null +++ b/HOWTORELEASE.md @@ -0,0 +1,6 @@ +# Instructions for publishing release + +1. Create release on GitHub. Name git tag like "v1.x". +2. Run "cd tools && ./docs-push-gh-pages". +3. Run "cd tools && ./docker-push". + diff --git a/tools/docs-push-gh-pages b/tools/docs-push-gh-pages index a633087..276ff3e 100755 --- a/tools/docs-push-gh-pages +++ b/tools/docs-push-gh-pages @@ -3,6 +3,7 @@ set -e ./docs-generate cd .. +git branch -D gh-pages || true git checkout --track origin/gh-pages find . -maxdepth 1 -not -name "docs" -not -name ".git" -not -name "tools" -print0 | xargs -0 rm -r || true mv docs/* . -- cgit v1.2.3