Skip to content

Commit 5d7aefc

Browse files
fix whitespaces of updater.xml
1 parent c5f1f6d commit 5d7aefc

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/deploy-release.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ jobs:
6363
/p:EnableCompressionInSingleFile=true `
6464
-o artifacts/single-exe
6565
66-
- name: List published files
67-
run: dir artifacts/single-exe
68-
6966
- name: Rename Standalone EXE for Release
7067
shell: pwsh
7168
run: |
@@ -102,18 +99,19 @@ jobs:
10299
$installerUrl = "$baseUrl/CleanMyPosts-Setup-$version.exe"
103100
$changelogUrl = "https://github.com/$repo/releases/tag/v$version"
104101
$xmlContent = @"
105-
<?xml version='1.0' encoding='utf-8'?>
106-
<updates>
107-
<application>
108-
<name>CleanMyPosts</name>
109-
<version>$version</version>
110-
<url>$installerUrl</url>
111-
<changelog>$changelogUrl</changelog>
112-
</application>
113-
</updates>
114-
"@
102+
<?xml version='1.0' encoding='utf-8'?>
103+
<updates>
104+
<application>
105+
<name>CleanMyPosts</name>
106+
<version>$version</version>
107+
<url>$installerUrl</url>
108+
<changelog>$changelogUrl</changelog>
109+
</application>
110+
</updates>
111+
"@
115112
$xmlContent | Set-Content -Path "artifacts/update.xml" -Encoding UTF8
116113

114+
117115
- name: Configure Git Credentials
118116
run: |
119117
echo "https://${{ secrets.GH_APIKEY }}@github.com" > $env:USERPROFILE\.git-credentials

0 commit comments

Comments
 (0)