diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9cefb3..fb98016 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,6 @@ cache: - .nimble/* before_script: - - 'git fetch --tags' - 'apk update && apk add libressl-dev clang nasm grub' - 'nimble update && nimble install nake' - 'nim c nakefile' diff --git a/nakefile.nim b/nakefile.nim index 6839593..8f4b872 100644 --- a/nakefile.nim +++ b/nakefile.nim @@ -2,7 +2,7 @@ import nake import os, osproc, strutils let - standardOptions = """--skipCfg -d:version:"""" & execProcess("git describe --long").strip() & """" kernel.nim""" + standardOptions = """--skipCfg -d:version:"""" & execProcess("git rev-parse HEAD").strip() & """" kernel.nim""" outputFile = "myos.bin" task "clean", "Removes build files.":