Skip to content

Commit f829ccc

Browse files
authored
fix: issue ios version number
1 parent 7c7b2c9 commit f829ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/ios.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export const writeVersion = (contents, version) => {
1212
versionCode *= 100
1313
}
1414
const finalContent = newContent
15-
.replace(/(.*(?:CURRENT_PROJECT_VERSION[ \t]+).*)/g, `\t\t\t\tCURRENT_PROJECT_VERSION = "${versionPure}";`)
15+
.replace(/(.*(?:CURRENT_PROJECT_VERSION[ \t]+).*)/g, `\t\t\t\tCURRENT_PROJECT_VERSION = "${versionCode}";`)
1616
return finalContent
1717
}

0 commit comments

Comments
 (0)