From 19d542c7d9ceba9226ac25ad4f6a4c361d47f31b Mon Sep 17 00:00:00 2001 From: HUI Date: Wed, 13 Jul 2022 14:49:42 +0800 Subject: [PATCH 1/2] fix: download addon version issue --- scripts/getConfig.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/getConfig.js b/scripts/getConfig.js index 2d9f090..3a7e7f0 100644 --- a/scripts/getConfig.js +++ b/scripts/getConfig.js @@ -12,7 +12,8 @@ logger.info(`process.env.INIT_CWD ${process.env.INIT_CWD}`); const getArgvFromPkgJson = () => { const projectDir = path.join(INIT_CWD, "package.json"); - const { agora_electron = {}, version } = require(projectDir); + const { agora_electron = {} } = require(projectDir); + const { version } = require(path.join(process.env.INIT_CWD, "package.json")); const { prebuilt = true, platform = process.platform, From 36d20fff163ace6ba1ac0af9ecc4640334579245 Mon Sep 17 00:00:00 2001 From: HUI Date: Wed, 13 Jul 2022 14:55:09 +0800 Subject: [PATCH 2/2] chore: release 4.0.0-beta.2 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e2c3d1..dfbac89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [4.0.0-beta.2](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2022-07-13) + + +### Bug Fixes + +* download addon version issue ([19d542c](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/19d542c7d9ceba9226ac25ad4f6a4c361d47f31b)) + # 4.0.0-beta.1 (2022-07-11) diff --git a/package.json b/package.json index 7c2fdb3..3b510ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "electron-agora-rtc-ng", - "version": "4.0.0-beta.1", + "version": "4.0.0-beta.2", "description": "electron-agora-rtc-ng", "main": "js/AgoraSdk.js", "types": "types/AgoraSdk.d.ts",