File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# Fetches upstream resources from docker/docker and docker/distribution
4
4
# before handing off the site to Jekyll to build
5
- # Relies on the following environment variables which are usually set by
6
- # the Dockerfile. Uncomment them here to override for debugging
5
+ # Relies on the "ENGINE_BRANCH" and "DISTRIBUTION_BRANCH" environment variables,
6
+ # which are usually set by the Dockerfile.
7
+ : " ${ENGINE_BRANCH?No release branch set for docker/ docker and docker/ cli} "
8
+ : " ${DISTRIBUTION_BRANCH?No release branch set for docker/ distribution} "
7
9
8
- # Helper functino to deal with sed differences between osx and Linux
10
+ # Helper function to deal with sed differences between osx and Linux
9
11
# See https://stackoverflow.com/a/38595160
10
12
sedi () {
11
13
sed --version > /dev/null 2>&1 && sed -i -- " $@ " || sed -i " " " $@ "
@@ -49,12 +51,6 @@ done < <(cat ./_config.yml |grep '_version:' |grep '^[a-z].*')
49
51
# Replace variable in toc.yml with value from above
50
52
sedi " s/{{ site.latest_engine_api_version }}/$latest_engine_api_version /g" ./_data/toc.yaml
51
53
52
- # Engine stable
53
- ENGINE_BRANCH=" 19.03"
54
-
55
- # Distribution
56
- DISTRIBUTION_BRANCH=" release/2.7"
57
-
58
54
# Translate branches for use by svn
59
55
engine_svn_branch=" branches/${ENGINE_BRANCH} "
60
56
if [ engine_svn_branch = " branches/master" ]; then
You can’t perform that action at this time.
0 commit comments