diff --git a/scripts/set-version.js b/scripts/set-version.js index 897b514..4e11a7d 100755 --- a/scripts/set-version.js +++ b/scripts/set-version.js @@ -69,8 +69,8 @@ async function main(args) { if (version === undefined) version = await versionFromAsar(); - if (setPkg) setDebVersion(ver); - if (setDeb) setDebVersion(ver); + if (setPkg) setDebVersion(version); + if (setDeb) setDebVersion(version); } if (require.main === module) {