|
1 | 1 | /** |
2 | | - * universal-version-bump v0.8.7 |
| 2 | + * universal-version-bump v0.8.8 |
3 | 3 | * Universal Version Bump |
4 | 4 | * |
5 | 5 | * Description: A GitHub Action to automatically bump versions across any app (Node, Python, PHP, Docker, etc.) |
6 | 6 | |
7 | 7 | * Homepage: https://github.com/taj54/universal-version-bump#readme |
8 | 8 | * License: MIT |
9 | | - * Generated on Mon, 25 Aug 2025 09:23:29 GMT |
| 9 | + * Generated on Mon, 25 Aug 2025 09:57:11 GMT |
10 | 10 | */ |
11 | 11 | require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap |
12 | 12 | /******/ var __webpack_modules__ = ({ |
@@ -33072,7 +33072,7 @@ class DockerUpdater { |
33072 | 33072 | throw new Error('Docker version not found'); |
33073 | 33073 | const newVersion = (0, utils_1.calculateNextVersion)(current, releaseType); |
33074 | 33074 | this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', { |
33075 | | - regexReplace: /"[^"]+"/, |
| 33075 | + regexReplace: /(LABEL\s+version=")([^"]+)(")/, |
33076 | 33076 | }); |
33077 | 33077 | return newVersion; |
33078 | 33078 | } |
@@ -33332,12 +33332,12 @@ class PythonUpdater { |
33332 | 33332 | switch (this.manifestPath) { |
33333 | 33333 | case 'pyproject.toml': |
33334 | 33334 | this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', { |
33335 | | - regexReplace: /"[^"]+"/, |
| 33335 | + regexReplace: /(version\s*=\s*")([^"]+)(")/, |
33336 | 33336 | }); |
33337 | 33337 | break; |
33338 | 33338 | case 'setup.py': |
33339 | 33339 | this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', { |
33340 | | - regexReplace: /["'][^"']+''/, |
| 33340 | + regexReplace: /(version\s*=\s*["'])([^"']+)(["'])/, |
33341 | 33341 | }); |
33342 | 33342 | break; |
33343 | 33343 | default: |
@@ -33385,7 +33385,7 @@ class RustUpdater { |
33385 | 33385 | throw new Error('Rust version not found'); |
33386 | 33386 | const newVersion = (0, utils_1.calculateNextVersion)(current, releaseType); |
33387 | 33387 | this.manifestParser.updateVersion(this.manifestPath, newVersion, 'regex', { |
33388 | | - regexReplace: /version\s*=\s*"[^"]+"/, |
| 33388 | + regexReplace: /(version\s*=\s*")([^"]+)(")/, |
33389 | 33389 | }); |
33390 | 33390 | return newVersion; |
33391 | 33391 | } |
|
0 commit comments