Skip to content

Commit ea5b498

Browse files
Merge branch 'develop'
2 parents c4ddef4 + c5f1f6d commit ea5b498

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deploy-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,16 @@ jobs:
7373
$dst = "artifacts/single-exe/CleanMyPosts-standalone.exe"
7474
7575
if (-Not (Test-Path $src)) {
76-
Write-Error "File $src not found!"
76+
Write-Error "Source file not found: $src"
7777
exit 1
7878
}
79+
7980
if (Test-Path $dst) {
8081
Remove-Item $dst -Force
8182
}
82-
Rename-Item -Path $src -NewName $dst
83+
84+
$destFileName = [System.IO.Path]::GetFileName($dst)
85+
Rename-Item -Path $src -NewName $destFileName
8386
8487
- name: Build Setup EXE
8588
run: |

0 commit comments

Comments
 (0)