-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Force add lib in workflows which commit LKG #53248
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
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 | ||
git config user.email "[email protected]" | ||
git config user.name "TypeScript Bot" | ||
git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
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 commentThe 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 |
||
git config user.email "[email protected]" | ||
git config user.name "TypeScript Bot" | ||
git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,6 @@ jobs: | |
npx hereby LKG | ||
npm test | ||
git diff | ||
git add ./lib | ||
git add --force ./lib | ||
git commit -m "Update LKG" | ||
git push |
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
onmain
, I set it manually.