zarro 1.180.2 → 1.180.3

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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ (function () {
3
+ const gulp = requireModule("gulp");
4
+ gulp.task("auto-release-nuget", async () => {
5
+ const env = requireModule("env"), log = requireModule("log"), { runTask } = requireModule("run-task"), Git = require("simple-git"), git = Git("."), branchInfo = await git.branch(), mainBranch = env.resolve(env.GIT_MAIN_BRANCH);
6
+ if (branchInfo.current !== mainBranch) {
7
+ log.info(`auto-releasing beta package: current branch is ${branchInfo.current} and main branch is ${mainBranch}`);
8
+ process.env["BETA"] = "1";
9
+ }
10
+ await runTask("release-nuget");
11
+ });
12
+ })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zarro",
3
- "version": "1.180.2",
3
+ "version": "1.180.3",
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"