Skip to content

Commit b3f9ffa

Browse files
committed
Update #ModRelease.ps1
1 parent 63effe2 commit b3f9ffa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

#ModRelease/#ModRelease.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ if ( $compare -eq $newTagRelease ) {
121121
break
122122
}
123123

124+
Start-Process -FilePath git -ArgumentList "update-index --refresh --quiet" -Wait -NoNewWindow -PassThru
124125
$LocalChanges = (Start-Process -FilePath git -ArgumentList "diff-index --quiet HEAD --" -Wait -NoNewWindow -PassThru).ExitCode
125126
if ($LocalChanges) {
126127
Write-Host "You have uncommitted changes, please commit or revert them before making new release."

0 commit comments

Comments
 (0)