Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Fixing travis mac upload (#2766)
Browse files Browse the repository at this point in the history
* Debugging paths

* Debugging

* Fixing mac build paths

* DMG path on builds
  • Loading branch information
evertonfraga authored and frozeman committed Jul 16, 2017
1 parent 65a9fb3 commit 147a87b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ cache:
yarn: true

install:
- echo $PATH
- PATH=$PATH:$HOME/.meteor && curl -L https://raw.githubusercontent.com/arunoda/travis-ci-meteor-packages/master/configure.sh | /bin/sh
- yarn global add gulp-cli meteor-build-client
- yarn
Expand Down
1 change: 1 addition & 0 deletions gulpTasks/building.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ gulp.task('release-dist', (done) => {
const versionDashed = version.replace(/\./g, '-');

const cp = (inputPath, outputPath) => {
console.info(`Copying from ${path.join(distPath, inputPath)} to ${path.join(releasePath, outputPath)}`);
shell.cp(path.join(distPath, inputPath), path.join(releasePath, outputPath));
};

Expand Down
2 changes: 1 addition & 1 deletion gulpTasks/publishing.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ gulp.task('upload-binaries', (cb) => {
const dir = `dist_${type}/release`;
const files = fs.readdirSync(dir);
const filePaths = _.map(files, (file) => { return path.join(dir, file); });

console.log('Upload files: ', filePaths);
// check if draft already contains target binaries
// note: github replaces spaces in filenames with dots
const existingAssets = _.intersection(files.map((file) => { return file.replace(/\s/g, '.'); }), _.pluck(draft.assets, 'name'));
Expand Down

0 comments on commit 147a87b

Please sign in to comment.