build: build specific enterprise version when releasing.

This commit is contained in:
Leonard Gram 2019-01-14 13:42:58 +01:00
parent 46f2808eaf
commit b1f5a232da

View File

@ -1,6 +1,15 @@
#!/bin/bash
cd ..
git clone -b master --single-branch git@github.com:grafana/grafana-enterprise.git --depth 1
if [ -z "$CIRCLE_TAG" ]; then
_target="master"
else
_target="$CIRCLE_TAG"
fi
git clone -b "$_target" --single-branch git@github.com:grafana/grafana-enterprise.git --depth 1
cd grafana-enterprise
./build.sh