Skip to content

Commit 1ad9b3d

Browse files
committed
feat: version bump v0.8.8
1 parent de56938 commit 1ad9b3d

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

dist/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/**
2-
* universal-version-bump v0.8.7
2+
* universal-version-bump v0.8.8
33
* Universal Version Bump
44
*
55
* Description: A GitHub Action to automatically bump versions across any app (Node, Python, PHP, Docker, etc.)
66
* Author: Taj <[email protected]>
77
* Homepage: https://github.com/taj54/universal-version-bump#readme
88
* License: MIT
9-
* Generated on Mon, 25 Aug 2025 09:23:29 GMT
9+
* Generated on Mon, 25 Aug 2025 09:57:11 GMT
1010
*/
1111
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
1212
/******/ var __webpack_modules__ = ({
@@ -33072,7 +33072,7 @@ class DockerUpdater {
3307233072
throw new Error('Docker version not found');
3307333073
const newVersion = (0, utils_1.calculateNextVersion)(current, releaseType);
3307433074
this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', {
33075-
regexReplace: /"[^"]+"/,
33075+
regexReplace: /(LABEL\s+version=")([^"]+)(")/,
3307633076
});
3307733077
return newVersion;
3307833078
}
@@ -33332,12 +33332,12 @@ class PythonUpdater {
3333233332
switch (this.manifestPath) {
3333333333
case 'pyproject.toml':
3333433334
this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', {
33335-
regexReplace: /"[^"]+"/,
33335+
regexReplace: /(version\s*=\s*")([^"]+)(")/,
3333633336
});
3333733337
break;
3333833338
case 'setup.py':
3333933339
this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', {
33340-
regexReplace: /["'][^"']+''/,
33340+
regexReplace: /(version\s*=\s*["'])([^"']+)(["'])/,
3334133341
});
3334233342
break;
3334333343
default:
@@ -33385,7 +33385,7 @@ class RustUpdater {
3338533385
throw new Error('Rust version not found');
3338633386
const newVersion = (0, utils_1.calculateNextVersion)(current, releaseType);
3338733387
this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', {
33388-
regexReplace: /version\s*=\s*"[^"]+"/,
33388+
regexReplace: /(version\s*=\s*")([^"]+)(")/,
3338933389
});
3339033390
return newVersion;
3339133391
}

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "universal-version-bump",
33
"displayName": "Universal Version Bump",
4-
"version": "0.8.7",
4+
"version": "0.8.8",
55
"description": "A GitHub Action to automatically bump versions across any app (Node, Python, PHP, Docker, etc.)",
66
"main": "dist/index.js",
77
"scripts": {

src/updaters/dockerUpdater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class DockerUpdater implements UpdaterInterface {
3131

3232
const newVersion = calculateNextVersion(current, releaseType);
3333
this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', {
34-
regexReplace: /"[^"]+"/,
34+
regexReplace: /(LABEL\s+version=")([^"]+)(")/,
3535
});
3636

3737
return newVersion;

src/updaters/pythonUpdater.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ export class PythonUpdater implements UpdaterInterface {
4444
switch (this.manifestPath) {
4545
case 'pyproject.toml':
4646
this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', {
47-
regexReplace: /"[^"]+"/,
47+
regexReplace: /(version\s*=\s*")([^"]+)(")/,
4848
});
4949
break;
5050
case 'setup.py':
5151
this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', {
52-
regexReplace: /["'][^"']+''/,
52+
regexReplace: /(version\s*=\s*["'])([^"']+)(["'])/,
5353
});
5454
break;
5555
default:

src/updaters/rustUpdater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class RustUpdater implements UpdaterInterface {
3131

3232
const newVersion = calculateNextVersion(current, releaseType);
3333
this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', {
34-
regexReplace: /version\s*=\s*"[^"]+"/,
34+
regexReplace: /(version\s*=\s*")([^"]+)(")/,
3535
});
3636

3737
return newVersion;

0 commit comments

Comments
 (0)