mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
And so move it to a refresh strategy
This commit is contained in:
@@ -2460,16 +2460,15 @@ main.registerCommand({
|
||||
name: 'admin make-bootstrap-tarballs',
|
||||
minArgs: 2,
|
||||
maxArgs: 2,
|
||||
hidden: true
|
||||
}, function (options) {
|
||||
var releaseNameAndVersion = options.args[0];
|
||||
var outputDirectory = options.args[1];
|
||||
hidden: true,
|
||||
|
||||
// XXX: refresh strategy...
|
||||
// In this function, we want to use the official catalog everywhere, because
|
||||
// we assume that all packages have been published (along with the release
|
||||
// obviously) and we want to be sure to only bundle the published versions.
|
||||
refreshOfficialCatalogOrDie();
|
||||
catalogRefresh: new catalog.Refresh.OnceAtStart()
|
||||
}, function (options) {
|
||||
var releaseNameAndVersion = options.args[0];
|
||||
var outputDirectory = options.args[1];
|
||||
|
||||
var parsed = utils.splitConstraint(releaseNameAndVersion);
|
||||
if (!parsed.constraint)
|
||||
|
||||
Reference in New Issue
Block a user