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

Only use version for specific tags. #974

Merged
merged 1 commit into from
Jun 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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