mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-06-29 22:37:30 +00:00
fix: get darwin universal binary (#312)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
committed by
GitHub
parent
69b075db94
commit
5df302e5e9
+3
@@ -265,6 +265,9 @@ const getFilename = (distribution) => {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (osPlat == 'darwin') {
|
||||
arch = 'all';
|
||||
}
|
||||
const platform = osPlat == 'win32' ? 'Windows' : osPlat == 'darwin' ? 'Darwin' : 'Linux';
|
||||
const ext = osPlat == 'win32' ? 'zip' : 'tar.gz';
|
||||
const suffix = pro.suffix(distribution);
|
||||
|
||||
Reference in New Issue
Block a user