Skip to content

Commit dae6659

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.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]+\\.[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.\\3/")
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)