We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f060682 commit c5f1f6dCopy full SHA for c5f1f6d
.github/workflows/deploy-release.yml
@@ -73,13 +73,16 @@ jobs:
73
$dst = "artifacts/single-exe/CleanMyPosts-standalone.exe"
74
75
if (-Not (Test-Path $src)) {
76
- Write-Error "File $src not found!"
+ Write-Error "Source file not found: $src"
77
exit 1
78
}
79
+
80
if (Test-Path $dst) {
81
Remove-Item $dst -Force
82
- Rename-Item -Path $src -NewName $dst
83
84
+ $destFileName = [System.IO.Path]::GetFileName($dst)
85
+ Rename-Item -Path $src -NewName $destFileName
86
87
- name: Build Setup EXE
88
run: |
0 commit comments