@virmator/publish 14.28.1 → 14.29.1
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/dist/publish.js +4 -2
- package/package.json +4 -4
package/dist/publish.js
CHANGED
|
@@ -308,10 +308,12 @@ export function parseCommitChangeMarker(commitMessage) {
|
|
|
308
308
|
if (!rawChangeMarker) {
|
|
309
309
|
return undefined;
|
|
310
310
|
}
|
|
311
|
-
else if (
|
|
311
|
+
else if (allowedVersionTags.includes(rawChangeMarker)) {
|
|
312
|
+
return check.isEnumValue(rawChangeMarker, ChangeMarker) ? rawChangeMarker : undefined;
|
|
313
|
+
}
|
|
314
|
+
else {
|
|
312
315
|
throw new VirmatorNoTraceError(`${rawChangeMarker} version tag not allowed`);
|
|
313
316
|
}
|
|
314
|
-
return check.isEnumValue(rawChangeMarker, ChangeMarker) ? rawChangeMarker : undefined;
|
|
315
317
|
}
|
|
316
318
|
async function getGitCommitVersion(decrement, git) {
|
|
317
319
|
const output = await git.raw(`show HEAD~${decrement} --pretty='%d${gitCommitFormatDelimiter}%s' -s`.split(' '));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/publish",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.29.1",
|
|
4
4
|
"description": "Default publish plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@augment-vir/assert": "^32.1.0",
|
|
38
38
|
"@augment-vir/common": "^32.1.0",
|
|
39
39
|
"@augment-vir/node": "^32.1.0",
|
|
40
|
-
"@virmator/core": "^14.
|
|
40
|
+
"@virmator/core": "^14.29.1",
|
|
41
41
|
"mri": "^1.2.0",
|
|
42
42
|
"semver": "^7.8.5",
|
|
43
43
|
"simple-git": "^3.36.0",
|
|
44
|
-
"spdx-vir": "^0.0.
|
|
45
|
-
"url-vir": "^2.1.
|
|
44
|
+
"spdx-vir": "^0.0.2",
|
|
45
|
+
"url-vir": "^2.1.10"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@augment-vir/test": "^32.1.0",
|