Skip to content
Snippets Groups Projects
Commit 9e1b8186 authored by Carl Boettiger's avatar Carl Boettiger
Browse files

patch hook for r-ver

parent 053a2613
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,8 @@ set -e
## Not all bash commands are available. notably grep -o -e options fail!!
VERSION=`cat Dockerfile | head -n1 | sed 's/.*\([0-9].[0-9].[0-9]\)/\1/'`
echo "Version being built is:"
echo $VERSION
VERSION=`sed -n 10p Dockerfile | sed 's/.*\([0-9].[0-9].[0-9]\).*/\1/'`
echo "Version being built is: $VERSION"
echo "tagging $IMAGE_NAME as $DOCKER_REPO:$VERSION..."
docker tag $IMAGE_NAME $DOCKER_REPO:$VERSION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment