Skip to content

Getting ready to make v9 prereleases #4751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages-exp/firebase-exp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firebase-exp",
"version": "0.900.25",
"version": "9.0.0-beta.0",
"private": true,
"description": "Firebase JavaScript library for web and Node.js",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
Expand Down
6 changes: 3 additions & 3 deletions scripts/exp/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ async function getNewVersions(packagePaths: string[]) {
for (const path of packagePaths) {
const { version, name } = await readPackageJson(path);

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

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