Skip to content

Commit 894b5da

Browse files
authored
Getting ready to make v9 prereleases (#4751)
* publish as v9 prerelease * use beta tag
1 parent 3d99709 commit 894b5da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages-exp/firebase-exp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "firebase-exp",
3-
"version": "0.900.25",
3+
"version": "9.0.0-beta.0",
44
"private": true,
55
"description": "Firebase JavaScript library for web and Node.js",
66
"author": "Firebase <[email protected]> (https://firebase.google.com/)",

scripts/exp/release.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,9 @@ async function getNewVersions(packagePaths: string[]) {
358358
for (const path of packagePaths) {
359359
const { version, name } = await readPackageJson(path);
360360

361-
// increment firebase-exp's patch version
361+
// increment firebase-exp as a v9 prerelease, e.g. 9.0.0-beta.0 -> 9.0.0-beta.1
362362
if (name === FIREBASE_UMBRELLA_PACKAGE_NAME) {
363-
const nextVersion = inc(version, 'patch');
363+
const nextVersion = inc(version, 'prerelease');
364364
versions.set(name, nextVersion);
365365
} else {
366366
// create individual packages version
@@ -394,7 +394,7 @@ async function publishToNpm(packagePaths: string[], dryRun = false) {
394394
}
395395

396396
async function publishPackage(packagePath: string, dryRun: boolean) {
397-
const args = ['publish', '--access', 'public', '--tag', 'exp'];
397+
const args = ['publish', '--access', 'public', '--tag', 'beta'];
398398
if (dryRun) {
399399
args.push('--dry-run');
400400
}

0 commit comments

Comments
 (0)