diff --git a/components/engine/hack/make.sh b/components/engine/hack/make.sh index 4117469d66..6281fb0d49 100755 --- a/components/engine/hack/make.sh +++ b/components/engine/hack/make.sh @@ -263,6 +263,12 @@ main() { rm -fr bundles/$VERSION && mkdir bundles/$VERSION || exit 1 echo fi + + if [ "$(go env GOHOSTOS)" != 'windows' ]; then + # Windows and symlinks don't get along well + ln -sfT $VERSION bundles/latest + fi + SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [ $# -lt 1 ]; then bundles=(${DEFAULT_BUNDLES[@]})