Validate the version input value

An arbitrary version must be within MAJOR.MINOR
This commit is contained in:
Alexey Igrychev
2021-03-10 11:23:57 +00:00
parent 9a5b5c0361
commit 07aab806f9
12 changed files with 193 additions and 37 deletions

3
src/werf.ts Normal file
View File

@@ -0,0 +1,3 @@
export const MAJOR_MINOR_GROUP = '1.1'
export const MAJOR = 1
export const MINOR = 1