mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
fix: add back app to the build context
This commit is contained in:
parent
5ba91ceb21
commit
847bb58aec
@ -33,10 +33,12 @@ function fromGitRef() {
|
|||||||
const gitRef = GIT_TAG || GITHUB_REF || TRAVIS_TAG || TRAVIS_CURRENT_BRANCH || '';
|
const gitRef = GIT_TAG || GITHUB_REF || TRAVIS_TAG || TRAVIS_CURRENT_BRANCH || '';
|
||||||
const tagMatch = gitRef.match(/(core)@(\d{4}\.\d+\.\d+(-(alpha|beta)\.\d+)?)$/);
|
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 version = tagMatch ? tagMatch[2] : null;
|
||||||
const channel = tagMatch ? tagMatch[4] : 'stable';
|
const channel = tagMatch ? tagMatch[4] : 'stable';
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
app,
|
||||||
channel,
|
channel,
|
||||||
version,
|
version,
|
||||||
gitRef,
|
gitRef,
|
||||||
|
Loading…
Reference in New Issue
Block a user