@@ -33,16 +33,16 @@ info( `Generating version files for version ${ version }` );
3333const iosVersionContent = `// This file is auto-generated by bin/generate-version.js
3434// Do not edit manually - changes will be overwritten
3535
36- /// GutenbergKit library constants and utilities .
37- public enum GutenbergKit {
36+ /// GutenbergKit version information .
37+ public enum GutenbergKitVersion {
3838 /// The current version of GutenbergKit.
3939 public static let version = "${ version } "
4040}
4141` ;
4242
4343const iosVersionPath = join (
4444 rootDir ,
45- 'ios/Sources/GutenbergKit/Sources/GutenbergKit .swift'
45+ 'ios/Sources/GutenbergKit/Sources/GutenbergKitVersion .swift'
4646) ;
4747writeFileSync ( iosVersionPath , iosVersionContent , 'utf8' ) ;
4848info ( `Generated ${ iosVersionPath } ` ) ;
@@ -54,9 +54,9 @@ const androidVersionContent = `// This file is auto-generated by bin/generate-ve
5454package org.wordpress.gutenberg
5555
5656/**
57- * GutenbergKit library constants and utilities .
57+ * GutenbergKit version information .
5858 */
59- object GutenbergKit {
59+ object GutenbergKitVersion {
6060 /**
6161 * The current version of GutenbergKit.
6262 */
@@ -66,7 +66,7 @@ object GutenbergKit {
6666
6767const androidVersionPath = join (
6868 rootDir ,
69- 'android/Gutenberg/src/main/java/org/wordpress/gutenberg/GutenbergKit .kt'
69+ 'android/Gutenberg/src/main/java/org/wordpress/gutenberg/GutenbergKitVersion .kt'
7070) ;
7171writeFileSync ( androidVersionPath , androidVersionContent , 'utf8' ) ;
7272info ( `Generated ${ androidVersionPath } ` ) ;
0 commit comments