iomentum / cargo-scaffold

cargo scaffold lets you scaffold and generate projects described in a simple TOML file
MIT License
57 stars 12 forks source link

Issue with using git tags #19

Closed BrynCooke closed 2 years ago

BrynCooke commented 2 years ago

I think there is an issue using git tags still. Also println! got left in the code for the target dir.

 ✘ bryn@amsterdam  ~/git/acme  cargo router plugin create test
    Finished dev [unoptimized + debuginfo] target(s) in 0.10s
     Running `target/debug/xtask router plugin create test`
🔄 Cloning repository…
target_dir -- "/tmp/5ca4508dd9924e1045b6b010b0e3eb9f"
Error: revspec 'v0.9.2' not found; class=Reference (4); code=NotFound (-3)

Tag v0.9.2 exists.

BrynCooke commented 2 years ago

My mistake! Bug in my code.

bnjjj commented 2 years ago

Regarding the logs I forgot to delete a debug log. Will delete it in the next release