Skip to content

Commit

Permalink
Version 1.6.10 - Fixed a bug in the get_git_rev function that prevent…
Browse files Browse the repository at this point in the history
…ed it from showing the git rev.
  • Loading branch information
kekePower committed Mar 5, 2018
1 parent eda3b97 commit c1a7d6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.leia
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/env zsh

SCRIPT_VERSION="1.6.9"
SCRIPT_VERSION="1.6.10"

trap "interrupted ${0:t}" INT

Expand Down Expand Up @@ -220,7 +220,7 @@ function get_git_rev() {

REV=$( git rev-parse HEAD )
if [[ ${1} == "short" ]]; then
echo ${REV[7]}
echo ${REV:0:7}
elif [[ ${1} == "long" ]]; then
echo ${REV}
else
Expand Down

0 comments on commit c1a7d6e

Please sign in to comment.