aboutsummaryrefslogtreecommitdiff
path: root/dev/build/plugin-versions/ltac2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/build/plugin-versions/ltac2.sh')
-rwxr-xr-xdev/build/plugin-versions/ltac2.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev/build/plugin-versions/ltac2.sh b/dev/build/plugin-versions/ltac2.sh
new file mode 100755
index 0000000000..feee3c92c1
--- /dev/null
+++ b/dev/build/plugin-versions/ltac2.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+case "$1" in
+ git-master|/cygdrive*)
+ # First get the SHA of master/HEAD and then download a zip of exactly this state
+ LTAC2_SHA=$(git ls-remote 'https://github.com/ppedrot/ltac2' refs/heads/master | cut -f 1)
+
+ echo https://github.com/ppedrot/ltac2/archive "$LTAC2_SHA" zip 1 "ltac2-$LTAC2_SHA"
+ ;;
+ *)
+ echo https://github.com/ppedrot/ltac2/archive v8.8 zip 1 ltac2-v8.8
+ ;;
+esac