fix: clarify macos release artifact names
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -557,6 +557,7 @@ jobs:
|
||||
run: |
|
||||
normalize_updater() {
|
||||
local arch="$1"
|
||||
local normalized_updater="$2"
|
||||
local artifact_dir="updater-${arch}"
|
||||
local updater_file
|
||||
updater_file=$(find "$artifact_dir" -maxdepth 1 -name "*.app.tar.gz" -print -quit)
|
||||
@@ -571,7 +572,6 @@ jobs:
|
||||
return 1
|
||||
fi
|
||||
|
||||
local normalized_updater="${artifact_dir}/Tolaria_${arch}.app.tar.gz"
|
||||
local normalized_sig="${normalized_updater}.sig"
|
||||
if [ "$updater_file" != "$normalized_updater" ]; then
|
||||
mv "$updater_file" "$normalized_updater"
|
||||
@@ -581,8 +581,8 @@ jobs:
|
||||
fi
|
||||
}
|
||||
|
||||
normalize_updater aarch64
|
||||
normalize_updater x86_64
|
||||
normalize_updater aarch64 "updater-aarch64/Tolaria_${{ needs.version.outputs.version }}_macOS_Silicon.app.tar.gz"
|
||||
normalize_updater x86_64 "updater-x86_64/Tolaria_${{ needs.version.outputs.version }}_macOS_Intel.app.tar.gz"
|
||||
|
||||
- name: Generate release notes
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user