Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
comment re grep method
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Feb 9, 2019
1 parent f1c703d commit 504ceff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ echo "Working dir and contents I see are:"
echo `pwd`
echo `ls`

## 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
Expand Down

0 comments on commit 504ceff

Please sign in to comment.