Skip to content

Commit 5afd053

Browse files
authored
Fix workflow that automatically publishes @firebase/app (#5486)
1 parent 0281e06 commit 5afd053

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/ci/add_changeset.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ const FILE_PATH = `${projectRoot}/.changeset/bump-sdk-version.md`;
3939
async function addChangeSet() {
4040
// check if a few firebase version is being released
4141
try {
42-
const { stdout } = await exec('yarn changeset status');
42+
// The way actions/checkout works, there is no local `master` branch, but it
43+
// has access to the remote origin/master.
44+
const { stdout } = await exec(
45+
'yarn changeset status --since origin/master'
46+
);
4347
// only add a changeset for @firebase/app if
4448
// 1. we are publishing a new firebase version. and
4549
// 2. @firebase/app is not already being published

0 commit comments

Comments
 (0)