Add a postMake arch conversion from x64 to amd64 (#2376)

* Add a postMake arch conversion from x64 to amd64

* Add platform conversion from win32 to windows
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2024-07-15 11:30:12 -07:00
1 parent ae5a03250f
commit bfd984d248
1 file changed
+7
@@ -103,6 +103,13 @@ module.exports = {
fs.mkdirSync(destination, { recursive: true });
// Copy artifacts
artifacts.forEach(async (artifact) => {
// Changing arch and platform to be compliant with artifact namings.
if (arch === 'x64') {
arch = 'amd64';
}
if (platform === 'win32') {
platform = 'windows';
}
const name = `boundary-desktop_${version}_${platform}_${arch}${path.extname(
artifact,
)}`;