diff --git a/v.mod b/v.mod index c552aee13c..fc3d660140 100644 --- a/v.mod +++ b/v.mod @@ -1,7 +1,7 @@ Module { name: 'V' description: 'The V programming language.' - version: '0.2.1' + version: '0.2.2' license: 'MIT' repo_url: 'https://github.com/vlang/v' dependencies: [] diff --git a/vlib/v/tests/vmod_parser_test.v b/vlib/v/tests/vmod_parser_test.v index eaa9d05333..b88b2296ba 100644 --- a/vlib/v/tests/vmod_parser_test.v +++ b/vlib/v/tests/vmod_parser_test.v @@ -6,7 +6,9 @@ fn test_from_file() { data := vmod.from_file('./v.mod') or { panic(err) } assert data.name == 'V' assert data.description == 'The V programming language.' - assert data.version == '0.2.1' + //assert data.version == '0.2.1' + assert data.version.contains('.') + assert data.version.starts_with('0.') assert data.dependencies.len == 0 } diff --git a/vlib/v/util/util.v b/vlib/v/util/util.v index e747745919..f56e54ed25 100644 --- a/vlib/v/util/util.v +++ b/vlib/v/util/util.v @@ -10,7 +10,7 @@ import v.vmod import v.util.recompilation pub const ( - v_version = '0.2.1' + v_version = '0.2.2' ) // math.bits is needed by strconv.ftoa