Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
circleCI 2.0 fix for setting proper tag based version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieterbe committed Oct 10, 2017
1 parent f2df73a commit e994819
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd ${DIR}

# make sure CircleCI gets all tags properly.
# see https://discuss.circleci.com/t/where-are-my-git-tags/2371
git fetch --unshallow

GITVERSION=`git describe --always`
SOURCEDIR=${DIR}/..
BUILDDIR=$SOURCEDIR/build
Expand Down

0 comments on commit e994819

Please sign in to comment.