commit-and-tag-version 12.4.0 → 12.4.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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [12.4.1](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.0...v12.4.1) (2024-04-28)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * raise the 'openapi'-updater to a higher order of precedence above the 'yaml'-updater ([#143](https://github.com/absolute-version/commit-and-tag-version/issues/143)) ([37fe178](https://github.com/absolute-version/commit-and-tag-version/commit/37fe178fdba051c665414565fe4b0e61336aff18))
11
+
5
12
  ## [12.4.0](https://github.com/absolute-version/commit-and-tag-version/compare/v12.3.0...v12.4.0) (2024-04-19)
6
13
 
7
14
 
package/README.md CHANGED
@@ -22,6 +22,7 @@ _Having problems? Want to contribute? Join us on the [node-tooling community Sla
22
22
  - [Maven Support (Java/Kotlin)](#maven-support-javakotlin)
23
23
  - [Gradle Support (Java/Kotlin)](#gradle-support-javakotlin)
24
24
  - [.NET Support](#net-support)
25
+ - [YAML Support](#yaml-support)
25
26
  - [OpenAPI Support](#openapi-support)
26
27
  - [Installing `commit-and-tag-version`](#installing-commit-and-tag-version)
27
28
  - [As a local `npm run` script](#as-a-local-npm-run-script)
@@ -35,12 +35,12 @@ function getUpdaterByFilename(filename) {
35
35
  if (filename.endsWith('.csproj')) {
36
36
  return getUpdaterByType('csproj');
37
37
  }
38
- if (/\.ya?ml$/.test(filename)) {
39
- return getUpdaterByType('yaml');
40
- }
41
38
  if (/openapi.yaml/.test(filename)) {
42
39
  return getUpdaterByType('openapi');
43
40
  }
41
+ if (/\.ya?ml$/.test(filename)) {
42
+ return getUpdaterByType('yaml');
43
+ }
44
44
  throw Error(
45
45
  `Unsupported file (${filename}) provided for bumping.\n Please specify the updater \`type\` or use a custom \`updater\`.`,
46
46
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commit-and-tag-version",
3
- "version": "12.4.0",
3
+ "version": "12.4.1",
4
4
  "description": "replacement for `npm version` with automatic CHANGELOG generation",
5
5
  "bin": "bin/cli.js",
6
6
  "scripts": {