summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
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() =