Skip to content

Commit

Permalink
Fix mac aarch64 arch (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: Yahav Itzhak <yahavi@users.noreply.github.com>
  • Loading branch information
sverdlov93 and yahavi authored Aug 3, 2023
1 parent 974fddb commit 2fc97c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jfrog/bamboo/utils/OsUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static String getOsDetails() throws IOException {
}
// Mac
if (SystemUtils.IS_OS_MAC) {
return OS_ARCH.contains("arm64") ? "mac-arm64" : "mac-386";
return OS_ARCH.contains("arm64") || OS_ARCH.contains("aarch64") ? "mac-arm64" : "mac-386";
}
// Unix
switch (OS_ARCH) {
Expand Down

0 comments on commit 2fc97c4

Please sign in to comment.