Skip to content

Commit 4241ce8

Browse files
committed
feat: add bump_targets logging
- Added logging for bump_targets - Improved debug information - Version bump to v0.12.1
1 parent 769ec91 commit 4241ce8

5 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/version-bump.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ jobs:
3434
bump_targets: '[{"path": "package.json", "variable": "version"}]'
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
38+
- run: echo "bump_targets=${{ steps.bump.outputs.bump_targets }}"

dist/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/**
2-
* universal-version-bump v0.12.0
2+
* universal-version-bump v0.12.1
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 Sat, 30 Aug 2025 13:40:37 GMT
9+
* Generated on Sat, 30 Aug 2025 13:47:30 GMT
1010
*/
1111
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
1212
/******/ var __webpack_modules__ = ({
@@ -32804,6 +32804,7 @@ async function run() {
3280432804
const platform = updaterService.getPlatform(targetPlatform);
3280532805
core.info(`Detected platform: ${platform}`);
3280632806
const bumpTargets = (0, utils_1.safeParseJSON)(config_1.BUMP_TARGETS);
32807+
core.info(`Bump targets: ${JSON.stringify(bumpTargets)}`);
3280732808
const version = updaterService.updateVersion(platform, releaseType, bumpTargets);
3280832809
core.setOutput('new_version', version);
3280932810
// Generate and update changelog

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.12.0",
4+
"version": "0.12.1",
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/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export async function run() {
3939
core.info(`Detected platform: ${platform}`);
4040

4141
const bumpTargets = safeParseJSON<{ path: string; variable: string }[]>(BUMP_TARGETS);
42+
core.info(`Bump targets: ${JSON.stringify(bumpTargets)}`);
4243
const version = updaterService.updateVersion(platform, releaseType, bumpTargets);
4344
core.setOutput('new_version', version);
4445

0 commit comments

Comments
 (0)