Add release and versioning metadata.

master
Aaron Suen 2020-02-18 21:43:03 -05:00
parent d3199c7003
commit a8fcbdc1ea
2 changed files with 22 additions and 0 deletions

17
.cdbrelease.lua Normal file
View File

@ -0,0 +1,17 @@
-- LUALOCALS < ---------------------------------------------------------
local math, tonumber
= math, tonumber
local math_floor
= math.floor
-- LUALOCALS > ---------------------------------------------------------
local stamp = tonumber("$Format:%at$")
if not stamp then return end
stamp = math_floor((stamp - 1540612800) / 60)
stamp = ("00000000" .. stamp):sub(-8)
return {
user = "Warr1024",
pkg = "nc_regression",
version = stamp .. "-$Format:%h$"
}

5
.gitattributes vendored Normal file
View File

@ -0,0 +1,5 @@
.cdbrelease.lua export-subst
.git* export-ignore
.lua* export-ignore
docs export-ignore
src export-ignore