Skip to content

Commit

Permalink
On MacOSX, os.arch=aarch64 should use arm64 variant of jf
Browse files Browse the repository at this point in the history
Closes issue #17

Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
  • Loading branch information
enaess committed Aug 2, 2023
1 parent fbfabe0 commit 5f37ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/jenkins/plugins/jfrog/OsUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static String getOsDetails() throws IOException {
}
// Mac
if (SystemUtils.IS_OS_MAC) {
if (OS_ARCH.contains("arm64")) {
if (OS_ARCH.contains("arm64") || OS_ARCH.contains("aarch64")) {
return "mac-arm64";
}
return "mac-386";
Expand Down

0 comments on commit 5f37ba8

Please sign in to comment.