@@ -29,7 +29,23 @@ docker_login_tag_push() {
2929 echo " docker tag and docker push using TRAVIS_TAG=${TRAVIS_TAG} "
3030 docker tag selenium:latest elgalu/selenium:${TRAVIS_TAG}
3131 docker tag selenium:latest elgalu/selenium:latest
32+
33+ # e.g. TAG_VERSION_MAJOR="3"
34+ TAG_VERSION_MAJOR=" ${testString:: 1} "
35+ docker tag selenium:latest elgalu/selenium:${TAG_VERSION_MAJOR}
36+ # e.g. TAG_VERSION_MAJ_MINOR="3.3"
37+ TAG_VERSION_MAJ_MINOR=" ${testString:: 3} "
38+ docker tag selenium:latest elgalu/selenium:${TAG_VERSION_MAJ_MINOR}
39+ # e.g. TAG_VERSION_MAJ_MIN_PATCH="3.3.1"
40+ TAG_VERSION_MAJ_MIN_PATCH=" ${testString:: 5} "
41+ docker tag selenium:latest elgalu/selenium:${TAG_VERSION_MAJ_MIN_PATCH}
42+
43+ # Push them all
44+ docker push elgalu/selenium:${TAG_VERSION_MAJOR}
45+ docker push elgalu/selenium:${TAG_VERSION_MAJ_MINOR}
46+ docker push elgalu/selenium:${TAG_VERSION_MAJ_MIN_PATCH}
3247 docker push elgalu/selenium:${TRAVIS_TAG} | tee docker_push.log
48+
3349 if [ " ${DOCKER_PUSH_LATEST} " != " true" ]; then
3450 echo " DOCKER_PUSH_LATEST is false (probably a beta release) so don't update tag ':latest'"
3551 else
@@ -116,10 +132,14 @@ update_changelog() {
116132 || die " while trying to get TBD_FIREFOX_FOR_SEL2"
117133 TBD_FIREFOX_FOR_SEL3=$( docker exec grid firefox-for-sel-3_version) \
118134 || die " while trying to get TBD_FIREFOX_FOR_SEL3"
119- TBD_SELENIUM_2_VERSION=$( docker exec grid selenium_version ) \
135+ TBD_SELENIUM_2_VERSION=$( docker exec grid selenium_2_version ) \
120136 || die " while trying to get TBD_SELENIUM_2_VERSION"
121- TBD_SELENIUM_2_REVISION=$( docker exec grid selenium_revision_version ) \
137+ TBD_SELENIUM_2_REVISION=$( docker exec grid selenium_2_revision_version ) \
122138 || die " while trying to get TBD_SELENIUM_2_REVISION"
139+ TBD_SELENIUM_3_VERSION=$( docker exec grid selenium_version) \
140+ || die " while trying to get TBD_SELENIUM_3_VERSION"
141+ TBD_SELENIUM_3_REVISION=$( docker exec grid selenium_revision_version) \
142+ || die " while trying to get TBD_SELENIUM_3_REVISION"
123143 TBD_PYTHON_VERSION=$( docker exec grid python_version) \
124144 || die " while trying to get TBD_PYTHON_VERSION"
125145 TBD_JAVA_BUILD=$( docker exec grid java_build_version) \
0 commit comments