mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +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 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,
|
||||
|
Loading…
Reference in New Issue
Block a user