zarro 1.167.0 → 1.168.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.
@@ -12,8 +12,10 @@
12
12
  debug(JSON.stringify(xml, null, 2));
13
13
  const packageVersionPropGroup = xml.Project.PropertyGroup.filter((g) => !!g.PackageVersion)[0];
14
14
  if (!packageVersionPropGroup) {
15
- debug("No PropertyGroup found with PackageVersion node");
16
- return xml;
15
+ // if we got in here, then something wants to increment
16
+ // the package version, but we can't unless the correct
17
+ // structure is found in the project
18
+ throw new ZarroError(`Unable to increment package version in '${file.path}': no PropertyGroup containing a PackageVersion node was found.`);
17
19
  }
18
20
  const node = packageVersionPropGroup.PackageVersion;
19
21
  const newVersion = incrementVersion(node[0], env.resolveFlag("BETA")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zarro",
3
- "version": "1.167.0",
3
+ "version": "1.168.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"