Skip to content

Commit 6366994

Browse files
committed
Make special short directory for building tool
1 parent 3fe2354 commit 6366994

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

packages/meteor-tool/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
summary: "The Meteor command-line tool",
3-
version: '1.0.35-win.1'
3+
version: '1.0.35-win.11'
44
});
55

66
Package.includeTool();

scripts/admin/meteor-release-experimental.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"track": "WINDOWS-PREVIEW",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"recommended": false,
55
"official": false,
66
"description": "First preview of Windows, probably won't work."

tools/package-client.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,16 @@ exports.uploadTarball = uploadTarball;
297297
var bundleBuild = function (isopack) {
298298
buildmessage.assertInJob();
299299

300-
var tempDir = files.mkdtemp('build-package-');
300+
var tempDir;
301+
if (isopack.includeTool) {
302+
// The paths are going to be too long to use the normal temp directory
303+
tempDir = "C:\\t";
304+
files.rm_recursive(tempDir);
305+
fs.mkdirSync(tempDir);
306+
} else {
307+
tempDir = files.mkdtemp("build-package-");
308+
}
309+
301310
var packageTarName = utils.escapePackageNameForPath(isopack.tarballName());
302311
var tarInputDir = path.join(tempDir, packageTarName);
303312

0 commit comments

Comments
 (0)