You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't require these to be set upfront, as we can create them
locally in the fetch-upstream-resources.sh script
Signed-off-by: Sebastiaan van Stijn <[email protected]>
if [ distribution_svn_branch ="branches/master" ];then
65
+
distribution_svn_branch=trunk
66
+
fi
67
+
60
68
# Directories to get via SVN. We use this because you can't use git to clone just a portion of a repository
61
-
svn co https://github.com/docker/docker-ce/"$ENGINE_SVN_BRANCH"/components/cli/docs/extend ./engine/extend || (echo "Failed engine/extend download"&&exit 1)
62
-
svn co https://github.com/docker/docker-ce/"$ENGINE_SVN_BRANCH"/components/engine/docs/api ./engine/api || (echo "Failed engine/api download"&&exit 1) # This will only get you the old API MD files 1.18 through 1.24
63
-
svn co https://github.com/docker/distribution/"$DISTRIBUTION_SVN_BRANCH"/docs/spec ./registry/spec || (echo "Failed registry/spec download"&&exit 1)
64
-
svn co https://github.com/mirantis/compliance/trunk/docs/compliance ./compliance || (echo "Failed docker/compliance download"&&exit 1)
69
+
svn co "https://github.com/docker/docker-ce/${engine_svn_branch}/components/cli/docs/extend" ./engine/extend || (echo "Failed engine/extend download"&&exit 1)
70
+
svn co "https://github.com/docker/docker-ce/${engine_svn_branch}/components/engine/docs/api" ./engine/api|| (echo "Failed engine/api download"&&exit 1) # This will only get you the old API MD files 1.18 through 1.24
71
+
svn co "https://github.com/docker/distribution/${distribution_svn_branch}/docs/spec" ./registry/spec|| (echo "Failed registry/spec download"&&exit 1)
72
+
svn co "https://github.com/mirantis/compliance/trunk/docs/compliance" ./compliance|| (echo "Failed docker/compliance download"&&exit 1)
65
73
66
74
# Get the Engine APIs that are in Swagger
67
75
# Be careful with the locations on Github for these
0 commit comments