Displayed version is now full git hash.

This commit is contained in:
neviyn 2018-04-29 03:50:36 +01:00
parent b17ca8ce6d
commit cb5ab22ea5
2 changed files with 1 additions and 2 deletions

View File

@ -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'

View File

@ -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.":