Skip to content

Commit e80b656

Browse files
[CP-beta]Don't use git add -N in the sync engine workflow. (flutter#185130)
This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request) Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request. ### Issue Link: What is the link to the issue this cherry-pick is addressing? https://github.com/flutter/flutter/issues/< Replace with issue link here > ### Impact Description: Release workflow for bumping the engine version is broken. ### Changelog Description: This does not require a changelog since this is a workflow change. ### Workaround: ### Risk: What is the risk level of this cherry-pick? ### Test Coverage: Are you confident that your fix is well-tested by automated tests? ### Validation Steps: Use the workflow as soon as this is merged.
1 parent 86ee39d commit e80b656

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/sync-engine-version.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ jobs:
5252
- name: Check for Changes
5353
id: git-check
5454
run: |
55-
# -N (intent-to-add) treats untracked files as existing but empty
5655
# -f adds even if it's in the .gitignore (which it usually is)
57-
git add -N -f bin/internal/engine.version
56+
git add -f bin/internal/engine.version
5857
5958
if git diff --cached --exit-code bin/internal/engine.version; then
6059
echo "changed=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)