Skip to content

Commit eb7f204

Browse files
committed
Fix @firebase/app publish workflow
1 parent a81979a commit eb7f204

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/bump-sdk-version.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
---
3+
'@firebase/app': patch
4+
---
5+
6+
Update SDK_VERSION.

scripts/ci/add_changeset.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ 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('yarn changeset status --since origin/master');
4345
// only add a changeset for @firebase/app if
4446
// 1. we are publishing a new firebase version. and
4547
// 2. @firebase/app is not already being published

0 commit comments

Comments
 (0)