Skip to content

Commit bb7c7de

Browse files
committed
inc version to 1.6
1 parent ce5afc0 commit bb7c7de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
## note: always use a patch release even if it's 0
4-
KSCRIPT_VERSION=1.5.4-SNAPSHOT
4+
KSCRIPT_VERSION=1.6
55

66
## make sure that all requirements (java, kotlinc, maven) to run kscript are met
77
assertInPath(){ if [ -z "$(which $1)" ]; then echo "[ERROR] Could not locate '$1'" 1>&2; exit 1; fi }
@@ -186,7 +186,7 @@ if [[ "$scriptFile" != *kts ]] && [[ ! -e ${scriptFile} ]]; then
186186
# http://stackoverflow.com/questions/2172352/in-bash-how-can-i-check-if-a-string-begins-with-some-value
187187
trimmedScript=$(echo "${scriptFile}" | tr -d '\n' )
188188
if [[ $trimmedScript == lines.* ]] || [[ $trimmedScript == stdin.* ]] ; then
189-
scriptFile=$'//DEPS com.github.holgerbrandl:kscript:1.2.1\nimport kscript.text.*\nval lines = resolveArgFile(args)\n\n'${scriptFile}
189+
scriptFile=$'//DEPS com.github.holgerbrandl:kscript:1.2.2\nimport kscript.text.*\nval lines = resolveArgFile(args)\n\n'${scriptFile}
190190
fi
191191

192192
scriptHash=$(kscript_md5 <(echo "$scriptFile"))

0 commit comments

Comments
 (0)