Skip to content

Commit

Permalink
chore: Change SDK to use "latest" instead of "nightly" (#1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGraey authored Jun 18, 2020
1 parent 47a2af0 commit 52850bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sdk/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const BINARYEN_VERSION = "nightly";
const LONG_VERSION = "latest";
const ASSEMBLYSCRIPT_VERSION = "nightly";
const ASSEMBLYSCRIPT_VERSION = "latest";

// AMD/require.js (browser)
if (typeof define === "function" && define.amd) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fs.readFile(path.join(__dirname, "..", "lib", "sdk", "index.js"), "utf8", functi
data = data
.replace(/BINARYEN_VERSION = "nightly"/, "BINARYEN_VERSION = " + JSON.stringify(pkg.dependencies.binaryen.version))
.replace(/LONG_VERSION = "latest"/, "LONG_VERSION = " + JSON.stringify(pkg.dependencies.long.version))
.replace(/ASSEMBLYSCRIPT_VERSION = "nightly"/, "ASSEMBLYSCRIPT_VERSION = " + JSON.stringify(pkg.version));
.replace(/ASSEMBLYSCRIPT_VERSION = "latest"/, "ASSEMBLYSCRIPT_VERSION = " + JSON.stringify(pkg.version));
fs.writeFile(path.join(__dirname, "..", "dist", "sdk.js"), data, function(err) {
if (err) throw err;
});
Expand Down

0 comments on commit 52850bc

Please sign in to comment.