From 847bb58aec13d40903961346db9f99fa7af2503e Mon Sep 17 00:00:00 2001 From: Opender Singh Date: Wed, 3 Mar 2021 11:41:23 +1300 Subject: [PATCH] fix: add back app to the build context --- packages/insomnia-app/scripts/getBuildContext.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/insomnia-app/scripts/getBuildContext.js b/packages/insomnia-app/scripts/getBuildContext.js index 6c032796a..75741ee0e 100644 --- a/packages/insomnia-app/scripts/getBuildContext.js +++ b/packages/insomnia-app/scripts/getBuildContext.js @@ -33,10 +33,12 @@ function fromGitRef() { const gitRef = GIT_TAG || GITHUB_REF || TRAVIS_TAG || TRAVIS_CURRENT_BRANCH || ''; const tagMatch = gitRef.match(/(core)@(\d{4}\.\d+\.\d+(-(alpha|beta)\.\d+)?)$/); + const app = tagMatch ? tagMatch[1] : null; const version = tagMatch ? tagMatch[2] : null; const channel = tagMatch ? tagMatch[4] : 'stable'; return { + app, channel, version, gitRef,