@@ -69,27 +69,27 @@ async function publishExpPackages() {
69
69
70
70
/**
71
71
* Release packages to NPM
72
- // */
73
- // await publishToNpm(packagePaths);
74
-
75
- // / **
76
- // * reset the working tree to recover package names with -exp in the package.json files,
77
- // * then bump patch version of firebase-exp (the umbrella package) only
78
- // */
79
- // const firebaseExpVersion = new Map<string, string>();
80
- // firebaseExpVersion.set(
81
- // FIREBASE_UMBRELLA_PACKAGE_NAME,
82
- // versions.get(FIREBASE_UMBRELLA_PACKAGE_NAME)
83
- // );
84
- // const firebaseExpPath = packagePaths.filter(p =>
85
- // p.includes(FIREBASE_UMBRELLA_PACKAGE_NAME)
86
- // );
87
- // await resetWorkingTreeAndBumpVersions(firebaseExpPath, firebaseExpVersion);
88
-
89
- // / **
90
- // * push to github
91
- // */
92
- // await commitAndPush(versions);
72
+ */
73
+ await publishToNpm ( packagePaths ) ;
74
+
75
+ /**
76
+ * reset the working tree to recover package names with -exp in the package.json files,
77
+ * then bump patch version of firebase-exp (the umbrella package) only
78
+ */
79
+ const firebaseExpVersion = new Map < string , string > ( ) ;
80
+ firebaseExpVersion . set (
81
+ FIREBASE_UMBRELLA_PACKAGE_NAME ,
82
+ versions . get ( FIREBASE_UMBRELLA_PACKAGE_NAME )
83
+ ) ;
84
+ const firebaseExpPath = packagePaths . filter ( p =>
85
+ p . includes ( FIREBASE_UMBRELLA_PACKAGE_NAME )
86
+ ) ;
87
+ await resetWorkingTreeAndBumpVersions ( firebaseExpPath , firebaseExpVersion ) ;
88
+
89
+ /**
90
+ * push to github
91
+ */
92
+ await commitAndPush ( versions ) ;
93
93
} catch ( err ) {
94
94
/**
95
95
* Log any errors that happened during the process
0 commit comments