Skip to content

Commit

Permalink
Changed container logger name browsers-job -> browsers-chrome-job
Browse files Browse the repository at this point in the history
  • Loading branch information
LiberQuack authored Jul 31, 2017
1 parent 505fc33 commit 2c2eee7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chrome-verify-updates-job.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

docker run --rm --name browsers-job busybox echo "Checking if there is a new chrome version..."
docker run --rm --name browsers-chrome-job busybox echo "Checking if there is a new chrome version..."
sudo apt update &&
sudo apt list --upgradable | grep google-chrome-stable &&
docker run --rm --name browsers-job busybox echo "Found new chrome version..." &&
docker run --rm --name browsers-chrome-job busybox echo "Found new chrome version..." &&
sudo apt install -y google-chrome-stable &&
CHROME_VERSION=$(google-chrome --version | awk '{print $3}') &&
docker run --rm --name browsers-job busybox echo "Sending tag ${CHROME_VERSION} to github..." &&
docker run --rm --name browsers-chrome-job busybox echo "Sending tag ${CHROME_VERSION} to github..." &&
curl --user username:token \
--header "Accept: application/vnd.github.manifold-preview" \
--data "{\"tag_name\":\"${CHROME_VERSION}\"" \
Expand Down

0 comments on commit 2c2eee7

Please sign in to comment.