-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Force add lib in workflows which commit LKG #53248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I am wondering if it'd be easier to just remove it from the gitignore on the branch, though. Not sure if that's more error prone (via accidentally merging it back) or not. |
git add src/compiler/corePublic.ts | ||
git add tests/baselines/reference/api/typescript.d.ts | ||
git add tests/baselines/reference/api/tsserverlibrary.d.ts | ||
git add ./lib | ||
git add --force ./lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, do we run this on main? If we run this on main to bump the version, then this isn't a good idea. @DanielRosenwasser what do you do when you bump main's version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not run set-version
on main
, I set it manually.
git add src/compiler/corePublic.ts | ||
git add tests/baselines/reference/api/typescript.d.ts | ||
git add tests/baselines/reference/api/tsserverlibrary.d.ts | ||
git add ./lib | ||
git add --force ./lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little worried that this will work the first time, then be annoying when pulling in main another time because we'll need to force it to be included. If we use the "update-lkg" workflow to do it, then it probably will be fine, but if being done manually, it might get weird.
Maybe I should just make it remove the ignore from .gitignore
?
Going to stick with |
Follow-up to #52226; these need to be force added now that
lib
is gitignored.