From 97178f42971c970963f4710c0b45310c8fb9d130 Mon Sep 17 00:00:00 2001 From: Tor Solli-Nowlan Date: Tue, 13 Apr 2021 12:00:48 +0200 Subject: [PATCH 1/2] setDebVersion function no longer exists Signed-off-by: Tor Solli-Nowlan --- scripts/fetch-package.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/fetch-package.js b/scripts/fetch-package.js index b98c461..d5d1469 100755 --- a/scripts/fetch-package.js +++ b/scripts/fetch-package.js @@ -15,7 +15,7 @@ const PUB_KEY_URL = "https://packages.riot.im/element-release-key.asc"; const PACKAGE_URL_PREFIX = "https://github.com/vector-im/element-web/releases/download/"; const ASAR_PATH = 'webapp.asar'; -const {setPackageVersion, setDebVersion} = require('./set-version.js'); +const setPackageVersion = require('./set-version.js'); async function getLatestDevelopUrl(bkToken) { const buildsResult = await needle('get', @@ -283,7 +283,6 @@ async function main() { const semVer = targetVersion.slice(1); console.log("Updating version to " + semVer); await setPackageVersion(semVer); - await setDebVersion(semVer); } console.log("Done!"); From 46ee80837ac07cee694f044aa6061ee52e7a7c6a Mon Sep 17 00:00:00 2001 From: Tor Solli-Nowlan Date: Wed, 14 Apr 2021 12:34:53 +0200 Subject: [PATCH 2/2] Update scripts/fetch-package.js Co-authored-by: Germain --- scripts/fetch-package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetch-package.js b/scripts/fetch-package.js index d5d1469..5bd73cc 100755 --- a/scripts/fetch-package.js +++ b/scripts/fetch-package.js @@ -15,7 +15,7 @@ const PUB_KEY_URL = "https://packages.riot.im/element-release-key.asc"; const PACKAGE_URL_PREFIX = "https://github.com/vector-im/element-web/releases/download/"; const ASAR_PATH = 'webapp.asar'; -const setPackageVersion = require('./set-version.js'); +const {setPackageVersion} = require('./set-version.js'); async function getLatestDevelopUrl(bkToken) { const buildsResult = await needle('get',