mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix publish-for-arch in Windows
We recently changed the package tarball structure to use colonConverter in package-client.js but not in commands-package.js
This commit is contained in:
@@ -26,6 +26,7 @@ var Console = require('./console.js').Console;
|
||||
var projectContextModule = require('./project-context.js');
|
||||
var packageMapModule = require('./package-map.js');
|
||||
var packageVersionParser = require('./package-version-parser.js');
|
||||
var colonConverter = require("./colon-converter.js");
|
||||
|
||||
// For each release (or package), we store a meta-record with its name,
|
||||
// maintainers, etc. This function takes in a name, figures out if
|
||||
@@ -601,7 +602,7 @@ main.registerCommand({
|
||||
|
||||
// XXX Factor out with packageClient.bundleSource so that we don't
|
||||
// have knowledge of the tarball structure in two places.
|
||||
var packageDir = files.pathJoin(sourcePath, name);
|
||||
var packageDir = files.pathJoin(sourcePath, colonConverter.convert(name));
|
||||
if (! files.exists(packageDir)) {
|
||||
Console.error('Malformed source tarball');
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user