Skip to content

Commit

Permalink
feat: log slightly more when versioning from a file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermendes committed Nov 27, 2024
1 parent 65cbe1f commit e1911ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/version/android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ const versionFromFile = (
...versionFile,
android: nextBuildVersion,
});

logger.success(`Android build number > ${nextBuildVersion}`);
};

/**
Expand Down Expand Up @@ -142,7 +144,7 @@ export const versionAndroid = (
}

if (pluginConfig.fromFile) {
logger.info('Versioning Android from file');
logger.info(`Versioning Android from file: ${pluginConfig.fromFile}`);
versionFromFile(pluginConfig, context, version);

return;
Expand Down
4 changes: 3 additions & 1 deletion src/version/ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ const versionFromFile = (
...versionFile,
ios: nextBuildVersion,
});

logger.success(`iOS build number > ${nextBuildVersion}`);
};

/**
Expand Down Expand Up @@ -442,7 +444,7 @@ export const versionIos = (
}

if (pluginConfig.fromFile) {
logger.info('Versioning iOS from file');
logger.info(`Versioning iOS from file: ${pluginConfig.fromFile}`);
versionFromFile(pluginConfig, context, version);

return;
Expand Down

0 comments on commit e1911ff

Please sign in to comment.