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; 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 = { let newValues = {
"updateUrl": updateUrl, "updateUrl": updateUrl,
"quality": quality "quality": quality,
"extensionsGallery": {
"serviceUrl": serviceUrl
}
}; };
return gulp.src('./product.json') return gulp.src('./product.json')

View File

@@ -29,9 +29,8 @@
"documentationUrl": "https://go.microsoft.com/fwlink/?linkid=862277", "documentationUrl": "https://go.microsoft.com/fwlink/?linkid=862277",
"commit": "9ca6200018fc206d67a47229f991901a8a453781", "commit": "9ca6200018fc206d67a47229f991901a8a453781",
"date": "2017-12-15T12:00:00.000Z", "date": "2017-12-15T12:00:00.000Z",
"recommendedExtensions": [],
"extensionsGallery": { "extensionsGallery": {
"serviceUrl":"https://raw.githubusercontent.com/Microsoft/sqlopsstudio/release/extensions/extensionsGallery.json" "serviceUrl": "https://raw.githubusercontent.com/Microsoft/sqlopsstudio/release/extensions/extensionsGallery.json"
}, }
"recommendedExtensions": [
]
} }