Skip to content

Commit b83591e

Browse files
authored
Fix app release again (#5495)
1 parent 29e0be2 commit b83591e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
run: yarn
2424

2525
- name: Add a changeset for @firebase/app
26-
run: yarn ts-node-script scripts/ci/add_changeset.ts
26+
run: |
27+
git pull -f origin master:master
28+
yarn ts-node-script scripts/ci/add_changeset.ts
2729
2830
- name: Create Release Pull Request
2931
uses: changesets/action@master

scripts/ci/add_changeset.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ async function addChangeSet() {
4141
try {
4242
// The way actions/checkout works, there is no local `master` branch, but it
4343
// has access to the remote origin/master.
44-
const { stdout } = await exec(
45-
'yarn changeset status --since origin/master'
46-
);
44+
const { stdout } = await exec('yarn changeset status');
4745
// only add a changeset for @firebase/app if
4846
// 1. we are publishing a new firebase version. and
4947
// 2. @firebase/app is not already being published

0 commit comments

Comments
 (0)