Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't require it with crystal v0.27.0 #9

Closed
renich opened this issue Jan 9, 2019 · 3 comments
Closed

Can't require it with crystal v0.27.0 #9

renich opened this issue Jan 9, 2019 · 3 comments

Comments

@renich
Copy link

renich commented Jan 9, 2019

I am getting the following:

$ shards install -v
git ls-remote --get-url origin
Fetching https://github.com/madeindjs/crystagiri.git
git fetch --all --quiet
git tag --list --column=never
versions: 0.3.2, 0.3.1, 0.3.0, 0.2.1, 0.2.0, 0.1.0, 0.3.4
git ls-tree -r --full-tree --name-only v0.3.4 -- shard.yml
Failed git ls-tree -r --full-tree --name-only v0.3.4 -- shard.yml (). Maybe a commit, branch or file doesn't exist?

The contents of my shards.yml file:

name: lc-parseventos
version: 0.1.0

authors:
  - Rene Bon Ciric <renich@introdesk.g02.org>

description: |
  Un parser a YAML; para eventos de la página de LinuxCabal

targets:
  lc-parseventos:
    main: src/lc-parseventos.cr

crystal: 0.27.0

license: GPLv3

dependencies:
  crystagiri:
    github: madeindjs/crystagiri
@madeindjs
Copy link
Owner

I don't know if Shards had recently change but now you have to specify branch like this:

dependencies:
  crystagiri:
    github: madeindjs/crystagiri
    branch: master

This worked for me but I didn't success to do it with version tag... See Shards usage

@renich
Copy link
Author

renich commented Jan 9, 2019

works fine like that. Thanks a lot!

@refi64
Copy link

refi64 commented Apr 1, 2019

@madeindjs FWIW it's because you tagged it as 0.3.4 instead of v0.3.4...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants