zarro 1.145.8 → 1.145.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gulp-tasks/release-nuget.js +12 -6
- package/package.json +2 -2
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
fullPaths: true,
|
|
11
11
|
recurse: false,
|
|
12
12
|
entities: FsEntities.files,
|
|
13
|
-
match: /\.nupkg
|
|
13
|
+
match: /\.nupkg$/,
|
|
14
|
+
exclude: /\.symbols\.nupkg$/
|
|
14
15
|
});
|
|
15
16
|
if (packageFiles.length === 0) {
|
|
16
17
|
throw new ZarroError(`Unable to find any .nupkg files under '${packageDir}'`);
|
|
@@ -22,11 +23,16 @@
|
|
|
22
23
|
version = matches === null || matches === void 0 ? void 0 : matches.groups["version"];
|
|
23
24
|
}
|
|
24
25
|
const source = env.resolve(env.NUGET_SOURCE);
|
|
25
|
-
|
|
26
|
-
source
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
if (env.resolveFlag(env.DRY_RUN)) {
|
|
27
|
+
log.info(`DRY_RUN: would have pushed '${pkg}' to '${source}'`);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
await nugetPush({
|
|
31
|
+
source,
|
|
32
|
+
target: pkg,
|
|
33
|
+
apiKey: resolveNugetApiKey(source)
|
|
34
|
+
});
|
|
35
|
+
}
|
|
30
36
|
}
|
|
31
37
|
if (!version) {
|
|
32
38
|
log.warn(`Unable to determine version to tag at - set '${env.GIT_TAG}' to manually override.`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zarro",
|
|
3
|
-
"version": "1.145.
|
|
3
|
+
"version": "1.145.12",
|
|
4
4
|
"description": "Some glue to make gulp easier, perhaps even zero- or close-to-zero-conf",
|
|
5
5
|
"bin": {
|
|
6
6
|
"zarro": "./index.js"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"vinyl": "^2.2.1",
|
|
87
87
|
"which": "^2.0.2",
|
|
88
88
|
"xml2js": "^0.6.2",
|
|
89
|
-
"yafs": "^1.
|
|
89
|
+
"yafs": "^1.35.0"
|
|
90
90
|
},
|
|
91
91
|
"files": [
|
|
92
92
|
"gulp-tasks/**/*.js",
|