Skip to content

Commit 27f44ab

Browse files
authored
Merge pull request #26 from REVrobotics/update-CANBridge-to-2.4.1
2 parents 4537085 + 3679385 commit 27f44ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/download-CanBridge.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as path from "path";
33
import axios from 'axios';
44
import AdmZip from 'adm-zip';
55

6-
const canBridgeTag = "v2.4.0";
6+
const canBridgeTag = "v2.4.1";
77
const canBridgeReleaseAssetUrlPrefix = `https://github.com/REVrobotics/CANBridge/releases/download/${canBridgeTag}`;
88

99
const externalCompileTimeDepsPath = 'externalCompileTimeDeps';
@@ -21,13 +21,12 @@ try {
2121
downloadCanBridgeArtifact('headers.zip', tempDir),
2222
));
2323

24-
console.log("CANBridge download completed");
2524
console.log("Extracting headers");
2625

2726
const headersZip = new AdmZip(path.join(tempDir, "headers.zip"));
2827

2928
await headersZip.extractAllTo(path.join(externalCompileTimeDepsPath, 'include'), true);
30-
console.log(`Successfully downloaded CANBridge`);
29+
console.log(`Successfully downloaded CANBridge ${canBridgeTag}`);
3130
} catch (e) {
3231
if (axios.isAxiosError(e) && e.request) {
3332
console.error(`Failed to download CANBridge file ${e.request.protocol}//${e.request.host}/${e.request.path}`);

0 commit comments

Comments
 (0)