diff options
author | Oleg Morozenkov <o.morozenkov@corp.mail.ru> | 2022-11-08 15:17:00 +0300 |
---|---|---|
committer | Oleg Morozenkov <o.morozenkov@corp.mail.ru> | 2022-11-08 15:19:55 +0300 |
commit | 851566d7afa52a5982e7a601984b85f3778cf4d0 (patch) | |
tree | 7c8d0a40b1cd939f08fec5833c5342616e06a05b | |
parent | 746f848ab2961df60cbd7da24f3f438c0e11505a (diff) |
Add HOWTORELEASE.md
-rw-r--r-- | HOWTORELEASE.md | 6 | ||||
-rwxr-xr-x | tools/docs-push-gh-pages | 1 |
2 files changed, 7 insertions, 0 deletions
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/* . |