File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,12 +29,6 @@ Get-Childitem -Recurse | Remove-Item -Force -Recurse
2929Write-Host " Copying the new files from $newFilesPath to $repoRootPath "
3030Copy-Item $newFilesPath /* .* - Destination $repoRootPath - Recurse
3131
32- Write-Host " Remove the git history"
33- # Remove the current .git folder
34- Remove-Item - Recurse - Force .git
35- # Reconstruct the repo
36- git init
37-
3832Write-Host " git add"
3933git add .
4034git add - u
@@ -52,12 +46,8 @@ if ($result -eq $null) {
5246}
5347Write-Host ' git commit -m...'
5448git commit - m " Automated push from build $Env: Build_BuildNumber "
55-
56- # Write-Host 'git remote add...'
57- # git remote add origin "https://github.com/Microsoft/BotFramework-WebChat/tree/$branchName"
58-
5949Write-Host " git push origin $branchName "
60- git push - u -- force origin $branchName
50+ git push origin $branchName
6151
6252# if ($LASTEXITCODE -eq 0) {
6353# Write-Host 'Writing Push Location section to the build summary page'
You can’t perform that action at this time.
0 commit comments