grunt-nuget-pack
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -9,2 +9,5 @@ var ZipWriter = require("moxie-zip").ZipWriter; | ||
var propsId = "7857dbf80735479b8ee19fa60cb8239e", excludePaths = {}; | ||
// MIT licensed by Sindre Sorhus https://github.com/sindresorhus/semver-regex | ||
var semVerRegex = /\bv?(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?\b/ig; | ||
@@ -24,3 +27,3 @@ function verifyMeta() { | ||
if (!/^[0-9]+\.[0-9]+\.[0-9]+$/.test(meta.version)) { | ||
if (!semVerRegex.test(meta.version)) { | ||
throw new Error("Version isn't proper sem-ver \"x.x.x\"."); | ||
@@ -27,0 +30,0 @@ } |
{ | ||
"name": "grunt-nuget-pack", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Grunt task for creating nuget packages without using nuget.exe.", | ||
"author": "Moxiecode Systems AB <info@moxiecode.com>", | ||
"license": "MIT", | ||
"repository": { | ||
@@ -7,0 +8,0 @@ "type" : "git", |
20356
11
282