Skip to content

Commit 89c9be6

Browse files
committed
Revert "test"
This reverts commit 40bd242.
1 parent 9e8c126 commit 89c9be6

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

scripts/exp/release.ts

+21-21
Original file line numberDiff line numberDiff line change
@@ -69,27 +69,27 @@ async function publishExpPackages() {
6969

7070
/**
7171
* 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);
9393
} catch (err) {
9494
/**
9595
* Log any errors that happened during the process

0 commit comments

Comments
 (0)