faustinoaq / sentry-run

Use Sentry shard for reload your app
MIT License
11 stars 3 forks source link

Problems installing shard #4

Open felipetesc opened 6 years ago

felipetesc commented 6 years ago

Hello I 'm receiving the following error when I run shards install or shards update If remove your shard all works.

Failed git ls-tree -r --full-tree --name-only v1.0.0 -- shard.yml (). Maybe a commit, branch or file doesn't exist?

My shard.yml is as it follows: ++++++++++++++++++++++++

development_dependencies:
  sentry:
    github: samueleaton/sentry
    version: ~> 0.3.0
  sentry-run:
    github: faustinoaq/sentry-run

My crystal --version .... :

Crystal 0.26.0 [eeb53c506] (2018-08-09)

LLVM: 4.0.0
Default target: x86_64-unknown-linux-gnu

Can u help me ? TY.

Dogcatfee commented 5 years ago

I also ran into this issue, which lead me to find this other Crystal related issue from 2016 git command failed ...

This is the shard.yaml that works for me:

development_dependencies:
  sentry:
    github: samueleaton/sentry
    branch: master
  sentry-run:
    github: faustinoaq/sentry-run

Crystal version:

Crystal 0.27.0 (2018-11-02)

LLVM: 6.0.1
Default target: x86_64-pc-linux-gnu

Still not sure why branch: master fixes this, but it does. This also appears to be more of a samueleaton/sentry issue, and less of an faustinoaq/sentry-run issue.

SeedyROM commented 5 years ago

@Dogcatfee Thanks for the solution!

wout commented 4 years ago

FWIW, this error may occur when the tag is not prefixed with a v (e.g. 1.0.0 vs v1.0.0).