addon-sdk-sdocs/make_webdocs.sh

22 строки
538 B
Bash
Исходник Постоянная ссылка Обычный вид История

2012-10-18 22:47:11 +04:00
# prepare git for a fresh set of docs
#bash git_prepare_commit.sh
2012-10-18 03:46:27 +04:00
2012-10-18 22:47:11 +04:00
pos=$(expr $1 : '[0-9,\.]*')
latest_version=${1:0:$pos}
2012-10-17 02:28:00 +04:00
2012-10-18 22:47:11 +04:00
# get the releases and generate docs for them
latest_version_tag=$1
old_version1=$2
old_version2=$3
bash get_releases.sh $latest_version_tag $old_version1 $old_version2
2012-10-17 02:28:00 +04:00
2012-10-18 22:47:11 +04:00
# obsolete old versions
pos=$(expr $latest_version_tag : '[0-9,\.]*')
latest_version=${1:0:$pos}
2012-10-18 03:46:27 +04:00
2012-10-18 22:47:11 +04:00
python obsolete.py $old_version1 $latest_version $4
python obsolete.py $old_version2 $latest_version $4
2012-10-17 02:28:00 +04:00
2012-10-18 22:47:11 +04:00
# make the commit
2012-10-19 03:03:03 +04:00
#bash git_commit.sh $1