mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-19 16:16:48 +00:00
Don't push docs for RC tags
This commit is contained in:
committed by
trapexit
parent
e613d9415f
commit
a86092b3c2
@@ -10,6 +10,12 @@ mike deploy --push "latest" "master" --ignore-remote-status
|
||||
|
||||
for tag in $(git tag -l | sort --version-sort --reverse)
|
||||
do
|
||||
case "${tag}" in
|
||||
*-rc*)
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
|
||||
if git ls-tree -r --name-only "${tag}" | grep -q 'mkdocs.yml'; then
|
||||
git checkout "${tag}"
|
||||
mike deploy --push "${tag}" --ignore-remote-status
|
||||
|
||||
Reference in New Issue
Block a user