zarro 1.162.0 → 1.164.0

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.
@@ -9,13 +9,13 @@
9
9
  await writeTextFile(target, template.replace("%TASK_NAME%", taskName));
10
10
  log.info(`generated new task file at: ${target}`);
11
11
  });
12
- const template = `
13
- /// <reference path="../node_modules/zarro/types.d.ts" />
14
- const
15
- gulp = requireModule<Gulp>("gulp");
16
-
17
- gulp.task(\`%TASK_NAME%\`, async () => {
18
-
19
- });
12
+ const template = `
13
+ /// <reference path="../node_modules/zarro/types.d.ts" />
14
+ const
15
+ gulp = requireModule<Gulp>("gulp");
16
+
17
+ gulp.task(\`%TASK_NAME%\`, async () => {
18
+
19
+ });
20
20
  `.trim();
21
21
  })();
@@ -5,7 +5,7 @@
5
5
  const git = new Git(forRepo);
6
6
  const log = await git.log({ maxCount: 1 });
7
7
  return !!short
8
- ? currentGitSha.substring(0, 7)
8
+ ? log.latest.hash.substring(0, 7)
9
9
  : log.latest.hash;
10
10
  }
11
11
  // this is a bit of an hax: we're hoping that we get some
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zarro",
3
- "version": "1.162.0",
3
+ "version": "1.164.0",
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"