changing the extension gallery url for insider builds (#902)

* changing the extension gallery url for insider builds
This commit is contained in:
Leila Lali
2018-03-13 14:25:25 -07:00
committed by GitHub
parent 4a4fe584d5
commit 890bece70c
2 changed files with 12 additions and 6 deletions

View File

@@ -24,10 +24,17 @@ gulp.task('mixin', function () {
return;
}
// {{SQL CARBON EDIT}}
// {{SQL CARBON EDIT}}
let serviceUrl = 'https://raw.githubusercontent.com/Microsoft/sqlopsstudio/release/extensions/extensionsGallery.json';
if (quality === 'insider') {
serviceUrl = `https://raw.githubusercontent.com/Microsoft/sqlopsstudio/release/extensions/extensionsGallery-${quality}.json`;
}
let newValues = {
"updateUrl": updateUrl,
"quality": quality
"quality": quality,
"extensionsGallery": {
"serviceUrl": serviceUrl
}
};
return gulp.src('./product.json')