Update release script to checkout kubernetes repo
parent
f08f979e43
commit
8074c0188d
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
VERSION=1.3
|
VERSION=1.3
|
||||||
|
|
||||||
#git clone --depth=1 -b release-$VERSION https://github.com/kubernetes/kubernetes.git k8s
|
git clone --depth=1 -b release-$VERSION https://github.com/kubernetes/kubernetes.git k8s
|
||||||
cd k8s
|
cd k8s
|
||||||
#git remote add upstream https://github.com/kubernetes/kubernetes.git
|
git remote add upstream https://github.com/kubernetes/kubernetes.git
|
||||||
#git fetch upstream
|
git fetch upstream
|
||||||
#hack/generate-docs.sh
|
hack/generate-docs.sh
|
||||||
#hack/update-generated-swagger-docs.sh
|
hack/update-generated-swagger-docs.sh
|
||||||
#build/versionize-docs.sh release-$VERSION
|
build/versionize-docs.sh release-$VERSION
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
rm -rf _includes/v$VERSION
|
rm -rf _includes/v$VERSION
|
||||||
|
@ -105,6 +105,6 @@ cd docs/admin
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#rm -rf k8s
|
rm -rf k8s
|
||||||
|
|
||||||
echo "Docs imported! Run 'git add .' 'git commit -m <comment>' and 'git push' to upload them"
|
echo "Docs imported! Run 'git add .' 'git commit -m <comment>' and 'git push' to upload them"
|
||||||
|
|
Loading…
Reference in New Issue