This repository was archived by the owner on Jun 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1- 3.6.0-p9
1+ 3.6.0-p10
Original file line number Diff line number Diff line change @@ -235,6 +235,17 @@ github_release_from_NEXT_RELEASE() {
235235 rm NEXT_RELEASE.md
236236 mv temp.md NEXT_RELEASE.md
237237
238+ # We need to gather the chrome.deb artifact to include it in the release
239+ CHROME_VERSION=$( docker exec grid chrome_stable_version) \
240+ || die " while trying to get CHROME_VERSION"
241+
242+ CHROME_DEB_FILE_NAME=" google-chrome-stable_${CHROME_VERSION} _amd64"
243+ wget -nv --show-progress -O " ${CHROME_DEB_FILE_NAME} .deb" \
244+ " https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
245+
246+ md5sum ${CHROME_DEB_FILE_NAME} .deb > ${CHROME_DEB_FILE_NAME} .md5
247+ shasum ${CHROME_DEB_FILE_NAME} .deb > ${CHROME_DEB_FILE_NAME} .sha
248+
238249 # If the release exists, delete it
239250 if hub release | grep -q " ^${TRAVIS_TAG} \$ " ; then
240251 hub release delete " ${TRAVIS_TAG} "
@@ -246,8 +257,9 @@ github_release_from_NEXT_RELEASE() {
246257 # https://github.com/github/hub/blob/master/commands/release.go#L59
247258 # TODO: Add real assents (.deb, ...)
248259 hub release create \
249- -a " Dockerfile" \
250- -a " capabilities.json" \
260+ -a " ${CHROME_DEB_FILE_NAME} .md5" \
261+ -a " ${CHROME_DEB_FILE_NAME} .sha" \
262+ -a " ${CHROME_DEB_FILE_NAME} .deb" \
251263 -F " NEXT_RELEASE.md" \
252264 " ${TRAVIS_TAG} "
253265}
You can’t perform that action at this time.
0 commit comments