Skip to content

Commit

Permalink
Merge remote-tracking branch 'usnistgov/integration' into rel/1.0.X
Browse files Browse the repository at this point in the history
(fix _setversion.sh)
  • Loading branch information
RayPlante committed Mar 8, 2018
2 parents 98364d0 + c9f6015 commit e8cd0d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion oar-build/_setversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ function get_tag {
#opts=
errfile=/tmp/git-describe-$$_err.txt
git describe $opts 2> $errfile || {
grep -qs 'No names found' $errfile || {
grep -qs 'No names found' $errfile || \
grep -qs 'No tags can describe' $errfile || \
{
echo setversion: git describe failed: 1>&2
cat $errfile 1>&2
rm $errfile
Expand Down

0 comments on commit e8cd0d5

Please sign in to comment.