Skip to content

Commit e37f033

Browse files
committed
ci: Update workaround for broken ref for Flutter upstream main
Fixes #1177, take 2. The original hacky workaround subsequently broke after the upstream change that fixed the "upstream" vs. "origin" part of the issue. We still need a version of this workaround, though, because we clone the repo with the branch `main`, which in the Flutter repo always points to the same commit as `master`.
1 parent bf64923 commit e37f033

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
2828
echo ~/flutter/bin >> "$GITHUB_PATH"
2929
30-
# The Flutter tool assumes the tip of tree is "upstream/master":
31-
# https://github.com/flutter/flutter/issues/160558
30+
# The Flutter tool assumes the tip of tree is "origin/master":
31+
# https://github.com/zulip/zulip-flutter/issues/1177#issuecomment-2555904080
3232
# TODO(upstream): make workaround unneeded
33-
git --git-dir ~/flutter/.git update-ref refs/remotes/upstream/master origin/main
33+
git --git-dir ~/flutter/.git update-ref refs/remotes/origin/master origin/main
3434
3535
- name: Download Flutter SDK artifacts (flutter precache)
3636
run: flutter precache --universal

0 commit comments

Comments
 (0)