Skip to content

Commit 377edd7

Browse files
committed
Fix linux file names and AUR release
1 parent dae6659 commit 377edd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
if: ${{ runner.os == 'Linux' }}
195195
run: |
196196
for file in $(find ./dist -type f -name "GitHubDesktop-linux-*"); do
197-
new_name=$(echo "$file" | sed -E "s/GitHubDesktop-linux-(.*)-(?:[0-9]+\\.)+[0-9]+(-beta[0-9]+)?\\.(.*)/GitHubDesktopPlus-v${APP_VERSION}-linux-\\1.\\3/")
197+
new_name=$(echo "$file" | sed -E "s/GitHubDesktop-linux-(.*)-([0-9]+\\.)+[0-9]+(-beta[0-9]+)?\\.(.*)/GitHubDesktopPlus-v${APP_VERSION}-linux-\\1.\\4/")
198198
new_name=$(echo $new_name | sed -E "s/linux-amd64/linux-x86_64/")
199199
new_name=$(echo $new_name | sed -E "s/linux-aarch64/linux-arm64/")
200200
mv --verbose "$file" "$new_name"

0 commit comments

Comments
 (0)