Skip to content

Commit 531c0e8

Browse files
committed
build(version): bump bluetooth-battery-monitor from 0.4.2 to 0.4.3
1 parent e8d2677 commit 531c0e8

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/ISSUE_TEMPLATE/bug-report.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ body:
2222
- 0.4.0
2323
- 0.4.1
2424
- 0.4.2
25+
- 0.4.3
2526
validations:
2627
required: true
2728

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace.package]
2-
version = "0.4.2"
2+
version = "0.4.3"
33
description = "Bluetooth battery monitor"
44
repository = "https://github.com/SARDONYX-sard/bluetooth-battery-monitor"
55
readme = "README.md"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bluetooth-battery-monitor",
33
"description": "A simple app to monitor the battery of your bluetooth devices",
4-
"version": "0.4.2",
4+
"version": "0.4.3",
55
"license": "MIT",
66
"homepage": "https://github.com/SARDONYX-sard/bluetooth-battery-monitor",
77
"private": true,

tools/version_up.cjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ const isDebug = false;
2020
const defaultVersion = '2'; // 2: Bump up `minor` version is default
2121
const useGpg = true; // Verified commit with GPG key.
2222

23+
// CONSTANTS(The variables need to be declared well above the hoist of the function they are used in.)
24+
const cargoRegexp = /\[workspace\.package\]\nversion = "(.*)"/;
25+
const issueRegexp = /options:\n((\s+- .*\n)+)/;
26+
2327
// import modules
2428
// biome-ignore lint/correctness/noNodejsModules: <explanation>
2529
const fs = require('node:fs');
@@ -91,8 +95,6 @@ function updatePackageJson(newVersion) {
9195
fs.writeFileSync(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}\n`);
9296
}
9397

94-
const cargoRegexp = /\[workspace\.package\]\nversion = "(.*)"/;
95-
9698
/**
9799
* @param {string} newVersion
98100
*/
@@ -102,8 +104,6 @@ function updateCargoToml(newVersion) {
102104
fs.writeFileSync(cargoTomlPath, cargoToml);
103105
}
104106

105-
const issueRegexp = /options:\n((\s+- .*\n)+)/;
106-
107107
/**
108108
* @param {string} newVersion
109109
*/

0 commit comments

Comments
 (0)