Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
mindvv0rk committed Aug 18, 2022
1 parent 8a3fad5 commit e889130
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ try {

if (incrementVersionCode) {
const lastVersionCodeStr = newGradle.match(versionCodeRegexPattern);
console.log(`lastVersionCode = ${lastVersionCodeStr}`)
const newVersionCode = parseInt(lastVersionCodeStr[2]) + 1;
console.log(`lastVersionCode = ${lastVersionCodeStr}, newVersionCode = ${newVersionCode}`)
newGradle = newGradle.replace(versionCodeRegexPattern, `$1${newVersionCode}`);
}
}

if (versionCode.length > 0)
newGradle = newGradle.replace(versionCodeRegexPattern, `$1${versionCode}`);
Expand Down

0 comments on commit e889130

Please sign in to comment.