Skip to content

Commit

Permalink
fix version string grabbing
Browse files Browse the repository at this point in the history
  • Loading branch information
felipejfc committed Jun 17, 2016
1 parent a381b9b commit 321e7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push_to_docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION=$(cat ./app/version.go | grep "VERSION string" | awk ' { print $5 } ' | sed s/\"//g)
VERSION=$(cat ./app/version.go | grep "VERSION" | awk ' { print $4 } ' | sed s/\"//g)

docker build -t mqttbot .
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
Expand Down

0 comments on commit 321e7b1

Please sign in to comment.