Skip to content

Commit

Permalink
chore: fix release script to upload both m1/intel dmg files
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhu2000 committed Jan 13, 2023
1 parent 35495ca commit e0ad1cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ yarn tauri build --target x86_64-apple-darwin
version=$(grep version package.json | awk -F \" '{print $4}')

echo "releasing version: $version"
gh release create $version \
"src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/kube-knots_${version}_x64.dmg" \
"src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/kube-knots_${version}_aarch64.dmgg" \
--generate-notes

macos_intel_path="src-tauri/target/x86_64-apple-darwin/release/bundle/dmg"
macos_m1_path="src-tauri/target/aarch64-apple-darwin/release/bundle/dmg"
gh release create $version "$macos_intel_path/kube-knots_${version}_x64.dmg" "$macos_m1_path/kube-knots_${version}_aarch64.dmg" --generate-notes

0 comments on commit e0ad1cc

Please sign in to comment.