d3-context-menu icon indicating copy to clipboard operation
d3-context-menu copied to clipboard

Explicit version in bower.json cause an error

Open AzaroQL opened this issue 6 years ago • 3 comments

When i set version explicitly(1.0.1 or 1.0.x) i get an error on bower update, works with '*' tho. Screenshot - http://puu.sh/zeiH1/ade3bb8b9a.png

AzaroQL avatar Feb 01 '18 12:02 AzaroQL

I've been looking into this, though I'm not sure what's causing it. Installing the latest version works, though trying to get a version by its version number leads to an error. However, you can still install by the commit number and it'll work that way (ex: "bower install d3-context-menu#9b9c146", from: https://github.com/patorjk/d3-context-menu/commits/master).

patorjk avatar Feb 02 '18 14:02 patorjk

I ran into this issue as well, since a change in d3-context-menu at some point broke compatibility with my code.

@patorjk I believe you are supposed to use git tags to version the repo. I noticed you don’t currently have any tags assigned, which is why you get the “tag not found” error when specifying “1.0.1” in bower.

espositocode avatar Mar 09 '18 16:03 espositocode

Looks like I can make tags by doing a "release" in the github interface. Honestly haven't done this before, so I'm going to read-up more on this tonight. Hopefully that will resolve this issue.

patorjk avatar Mar 09 '18 18:03 patorjk