summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-06-05 11:26:10 +0200
committerAraq <rumpf_a@web.de>2019-06-05 11:26:10 +0200
commit8ab94cdd45a9730ec4401feead74b2c86e10ce6b (patch)
tree0397d04e5282ded10ca3f95772a03e37f58ce4d5 /koch.nim
parentcb45527e37fa7990ab6ccc38d5594ef9b6ab5c10 (diff)
downloadNim-8ab94cdd45a9730ec4401feead74b2c86e10ce6b.tar.gz
refs #11402; now koch ships a fixed version of Nimble so that the connection between Nim and Nimble version is obvious when you do 'git checkout v0.20' in Nim's repo
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim
index 1832a49b9..4fb58ef81 100644
--- a/koch.nim
+++ b/koch.nim
@@ -159,9 +159,10 @@ proc buildNimble(latest: bool) =
     withDir(installDir):
       if latest:
         exec("git checkout -f master")
+        exec("git pull")
       else:
-        exec("git checkout -f stable")
-      exec("git pull")
+        exec("git fetch")
+        exec("git checkout tags/v0.10.2")
   nimCompile(installDir / "src/nimble.nim", options = "--noNimblePath --nilseqs:on -d:release")
 
 proc bundleNimsuggest() =