datagrok-tools 4.12.6 → 4.12.7

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.
@@ -413,13 +413,13 @@ function checkChangelog(packagePath) {
413
413
  var regex = /^##[^#].*$/gm;
414
414
  var h2 = clf.match(regex);
415
415
  if (!h2) return ['No versions found in CHANGELOG.md'];
416
- regex = /^## \d+\.\d+\.\d+ \(\d{4}-\d{2}-\d{2}\).*$/;
416
+ regex = /^## \d+\.\d+\.\d+ \((\d{4}-\d{2}-\d{2}|WIP)\)$/;
417
417
  var _iterator7 = _createForOfIteratorHelper(h2),
418
418
  _step7;
419
419
  try {
420
420
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
421
421
  var h = _step7.value;
422
- if (!regex.test(h)) warnings.push("CHANGELOG: '".concat(h, "' does not match the h2 format"));
422
+ if (!regex.test(h)) warnings.push("CHANGELOG: '".concat(h, "' does not match the h2 format, expected: ## <version> (<release date> | WIP)"));
423
423
  }
424
424
  } catch (err) {
425
425
  _iterator7.e(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.12.6",
3
+ "version": "4.12.7",
4
4
  "description": "Utility to upload and publish packages to Datagrok",
5
5
  "homepage": "https://github.com/datagrok-ai/public/tree/master/tools#readme",
6
6
  "dependencies": {