From 0ea57da8382a22d6e4646c29f4167ce8d8f94414 Mon Sep 17 00:00:00 2001 From: Anton Wiklund Date: Thu, 25 Apr 2024 12:21:38 +0200 Subject: [PATCH 1/3] docs: add missing 'YAML Support' entry in the Table of Contents (#144) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index dceec3b8f..eaa655de5 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ _Having problems? Want to contribute? Join us on the [node-tooling community Sla - [Maven Support (Java/Kotlin)](#maven-support-javakotlin) - [Gradle Support (Java/Kotlin)](#gradle-support-javakotlin) - [.NET Support](#net-support) + - [YAML Support](#yaml-support) - [OpenAPI Support](#openapi-support) - [Installing `commit-and-tag-version`](#installing-commit-and-tag-version) - [As a local `npm run` script](#as-a-local-npm-run-script) From 37fe178fdba051c665414565fe4b0e61336aff18 Mon Sep 17 00:00:00 2001 From: Anton Wiklund Date: Sun, 28 Apr 2024 04:02:30 +0200 Subject: [PATCH 2/3] fix: raise the 'openapi'-updater to a higher order of precedence above the 'yaml'-updater (#143) --- lib/updaters/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/updaters/index.js b/lib/updaters/index.js index 683381f94..47296e3d1 100644 --- a/lib/updaters/index.js +++ b/lib/updaters/index.js @@ -35,12 +35,12 @@ function getUpdaterByFilename(filename) { if (filename.endsWith('.csproj')) { return getUpdaterByType('csproj'); } - if (/\.ya?ml$/.test(filename)) { - return getUpdaterByType('yaml'); - } if (/openapi.yaml/.test(filename)) { return getUpdaterByType('openapi'); } + if (/\.ya?ml$/.test(filename)) { + return getUpdaterByType('yaml'); + } throw Error( `Unsupported file (${filename}) provided for bumping.\n Please specify the updater \`type\` or use a custom \`updater\`.`, ); From fabd8cd0525db0fc2f4c7d6aea1d39a764f3dfcc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 28 Apr 2024 12:03:24 +1000 Subject: [PATCH 3/3] chore(master): release 12.4.1 (#146) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c85b5d598..feeff9ca8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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. +## [12.4.1](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.0...v12.4.1) (2024-04-28) + + +### Bug Fixes + +* 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)) + ## [12.4.0](https://github.com/absolute-version/commit-and-tag-version/compare/v12.3.0...v12.4.0) (2024-04-19) diff --git a/package-lock.json b/package-lock.json index b24277ffb..e55de8074 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "commit-and-tag-version", - "version": "12.4.0", + "version": "12.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "commit-and-tag-version", - "version": "12.4.0", + "version": "12.4.1", "license": "ISC", "dependencies": { "chalk": "^2.4.2", diff --git a/package.json b/package.json index 09fcd7142..70843c036 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "commit-and-tag-version", - "version": "12.4.0", + "version": "12.4.1", "description": "replacement for `npm version` with automatic CHANGELOG generation", "bin": "bin/cli.js", "scripts": {