diff --git a/src/version/toml.js b/src/version/toml.js index a40ffc6..84b35ae 100644 --- a/src/version/toml.js +++ b/src/version/toml.js @@ -30,7 +30,7 @@ module.exports = class Toml extends BaseVersioning { // Get the name of where the version is in const versionName = this.versionPath.split('.').pop() - core.info(`Bumped file "${this.fileLocation}" from "${oldVersion}" to "${this.newVersion}"`) + core.info(`Bumped file "${this.fileLocation}" from "${this.oldVersion}" to "${this.newVersion}"`) this.update( // We use replace instead of yaml.stringify so we can preserve white spaces and comments diff --git a/src/version/yaml.js b/src/version/yaml.js index 127f7ec..2a33501 100644 --- a/src/version/yaml.js +++ b/src/version/yaml.js @@ -30,7 +30,7 @@ module.exports = class Yaml extends BaseVersioning { // Get the name of where the version is in const versionName = this.versionPath.split('.').pop() - core.info(`Bumped file "${this.fileLocation}" from "${oldVersion}" to "${this.newVersion}"`) + core.info(`Bumped file "${this.fileLocation}" from "${this.oldVersion}" to "${this.newVersion}"`) this.update( // We use replace instead of yaml.stringify so we can preserve white spaces and comments