heroku / heroku-repo

Plugin for heroku CLI that can manipulate the repo
MIT License
686 stars 111 forks source link

repo:purge_cache failed in the 1.0.0 version #54

Closed manyoo closed 8 years ago

manyoo commented 8 years ago

On My Macbook Pro, heroku-repo is updated to the latest version and the purge_cache command failed with following message:

`rge_cache -a sunnova-connect

Running set -e mkdir -p tmp/repo_tmp/unpack cd tmp/repo_tmp curl -o repo-cache.tgz 'https://s3-external-1.amazonaws.com/heroku_repos/heroku.com/46743986.tgz?AWSAccessKeyId=AKIAJWLOWWHPBWQOPJZQ&Signature=dOsKaOayPwSd1AGK9Running set -e mkdir -p tmp/repo_tmp/unpack cd tmp/repo_tmp curl -o repo-cache.tgz 'https://s3-external-1.amazonaws.com/heroku_repos/heroku.com/46743986.tgz?AWSAccessKeyId=AKIAJWLOWWHPBWQOPJZQ&Signature=dOsKaOayPwSd1AGK9Running set -e mkdir -p tmp/repo_tmp/unpack cd tmp/repo_tmp curl -o repo-cache.tgz 'https://s3-external-1.amazonaws.com/heroku_repos/heroku.com/46743986.tgz?AWSAccessKeyId=AKIAJWLOWWHPBWQOPJZQ&Signature=dOsKaOayPwSd1AGK9Running set -e mkdir -p tmp/repo_tmp/unpack cd tmp/repo_tmp curl -o repo-cache.tgz 'https://s3-external-1.amazonaws.com/heroku_repos/heroku.com/46743986.tgz?AWSAccessKeyId=AKIAJWLOWWHPBWQOPJZQ&Signature=dOsKaOayPwSd1AGK9%2BrxIWTnSow%3D&Expires=1467339913' cd unpack tar -zxf ../repo-cache.tgz METADATA="vendor/heroku" if [ -d "$METADATA" ]; then TMPDIR=mktemp -d cp -rf $METADATA $TMPDIR fi cd .. rm -rf unpack mkdir unpack cd unpack TMPDATA="$TMPDIR/heroku" VENDOR="vendor" if [ -d "$TMPDATA" ]; then mkdir $VENDOR cp -rf $TMPDATA $VENDOR rm -rf $TMPDIR fi tar -zcf ../cache-repack.tgz . curl -o /dev/null --upload-file ../cache-repack.tgz 'https://s3-external-1.amazonaws.com/heroku_repos/heroku.com/46743986.tgz?AWSAccessKeyId=AKIAJWLOWWHPBWQOPJZQ&Signature=mSysC9G%2FxAGKqHKdAPrf6W9xbLQ%3D&Expires=1467339973' exit on ⬢ sunnova-connect... up, run.1498 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 42.5M 100 42.5M 0 0 40.6M 0 0:00:01 0:00:01 --:--:-- 40.6M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 113 0 0 100 113 0 2222 --:--:-- --:--:-- --:--:-- 2260 `

And when I want to deploy my code with git, I got this:

fatal: protocol error: bad line length character: fata

But on my Macbook, which has an older version without the '@1.0.0' tag, it works great.