|
1 | 1 | /** |
2 | | - * universal-version-bump v0.12.1 |
| 2 | + * universal-version-bump v0.12.2 |
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 Sat, 30 Aug 2025 13:50:05 GMT |
| 9 | + * Generated on Sat, 30 Aug 2025 14:20:54 GMT |
10 | 10 | */ |
11 | 11 | require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap |
12 | 12 | /******/ var __webpack_modules__ = ({ |
@@ -32669,11 +32669,12 @@ var __importStar = (this && this.__importStar) || (function () { |
32669 | 32669 | Object.defineProperty(exports, "__esModule", ({ value: true })); |
32670 | 32670 | exports.BUMP_TARGETS = exports.TARGET_PATH = exports.GIT_TAG = exports.TARGET_PLATFORM = exports.RELEASE_TYPE = void 0; |
32671 | 32671 | const core = __importStar(__nccwpck_require__(9999)); |
| 32672 | +const utils_1 = __nccwpck_require__(9499); |
32672 | 32673 | exports.RELEASE_TYPE = (core.getInput('release_type') || 'patch'); |
32673 | 32674 | exports.TARGET_PLATFORM = core.getInput('target_platform'); |
32674 | 32675 | exports.GIT_TAG = core.getInput('git_tag') === 'true'; |
32675 | 32676 | exports.TARGET_PATH = core.getInput('target_path') || '.'; |
32676 | | -exports.BUMP_TARGETS = core.getInput('bump_targets') || '[]'; |
| 32677 | +exports.BUMP_TARGETS = (0, utils_1.safeParseJSON)(core.getInput('bump_targets')); |
32677 | 32678 |
|
32678 | 32679 |
|
32679 | 32680 | /***/ }), |
@@ -32800,10 +32801,10 @@ async function run() { |
32800 | 32801 | process.chdir(config_1.TARGET_PATH); |
32801 | 32802 | const releaseType = config_1.RELEASE_TYPE; |
32802 | 32803 | const targetPlatform = config_1.TARGET_PLATFORM; |
| 32804 | + const bumpTargets = config_1.BUMP_TARGETS; |
32803 | 32805 | const { updaterService, gitService, changelogService } = await initializeServices(); |
32804 | 32806 | const platform = updaterService.getPlatform(targetPlatform); |
32805 | 32807 | core.info(`Detected platform: ${platform}`); |
32806 | | - const bumpTargets = (0, utils_1.safeParseJSON)(config_1.BUMP_TARGETS); |
32807 | 32808 | core.info(`Bump targets: ${JSON.stringify(bumpTargets)}`); |
32808 | 32809 | const version = updaterService.updateVersion(platform, releaseType, bumpTargets); |
32809 | 32810 | core.setOutput('new_version', version); |
|
0 commit comments