Skip to content

Commit

Permalink
Update version 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bsansouci committed Jun 9, 2018
1 parent d76155b commit 789f205
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"postinstall": "node postinstall.js"
},
"name": "bs-platform",
"version": "2.1.1",
"version": "3.2.0",
"description": "bucklescript compiler, ocaml standard libary by bucklescript and its required runtime support",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ function mkdirp(dir, cb) {

var zipFilename;
if (isWin) {
zipFilename = "bsb-native-win-2.1.1.zip";
zipFilename = "bsb-native-win-3.2.0.zip";
} else if (isOSX) {
zipFilename = "bsb-native-osx-2.1.1.zip";
zipFilename = "bsb-native-osx-3.2.0.zip";
} else if (isLinux) {
zipFilename = "bsb-native-linux-2.1.1.zip";
zipFilename = "bsb-native-linux-3.2.0.zip";
} else {
console.error("No pre-built binaries for " + process.platform + " yet! Please open an issue on bsansouci/bsb-native!");
return;
}

https.get('https://github.com/bsansouci/bsb-native/releases/download/2.1.1/' + zipFilename, function(res) {
https.get('https://github.com/bsansouci/bsb-native/releases/download/3.2.0/' + zipFilename, function(res) {
if (res.statusCode === 302) {
https.get(res.headers.location, function(res) {
handleResponse(res);
Expand Down

0 comments on commit 789f205

Please sign in to comment.