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

Commit

Permalink
Merge pull request #974 from nanliu/version
Browse files Browse the repository at this point in the history
Only use version for specific tags.
  • Loading branch information
IRCody authored Jun 14, 2016
2 parents e510022 + 998f694 commit 1db12dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#See the License for the specific language governing permissions and
#limitations under the License.

GITVERSION=`git describe --always`
GITVERSION=`git describe --always --exact-match 2> /dev/null || echo "$(git symbolic-ref HEAD 2> /dev/null | cut -b 12-)-$(git log --pretty=format:"%h" -1)"`
SOURCEDIR=$1
BUILDPLUGINS=$2
SPLUGINFOLDER=$3
Expand Down

0 comments on commit 1db12dc

Please sign in to comment.