Open tiye opened 4 years ago
When username password are not set, it's still running with a nil
.
Warning: lein-git-version git exited 128
{:exit 128, :out "", :err "fatal: No names found, cannot describe anything.\n"}
Warning: lein-git-version git exited 128
{:exit 128, :out "", :err "fatal: No names found, cannot describe anything.\n"}
POM... minimal-xyz/minimal-cljs-deploy {:mvn/version "0.0.1"}
JAR... target/project.jar (thin)
Building thin jar: target/project.jar
Processing pom.xml for {minimal-xyz/minimal-cljs-deploy {:mvn/version "0.0.1"}}
Deploy... clojars
Deploying minimal-xyz/minimal-cljs-deploy-0.0.1 to clojars as nil
Execution error (TransferFailedException) at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon/put (AbstractHttpClientWagon.java:635).
Failed to transfer file: https://clojars.org/repo/minimal-xyz/minimal-cljs-deploy/0.0.1/minimal-cljs-deploy-0.0.1.pom. Return code is: 401, ReasonPhrase: Unauthorized.
Full report at:
/var/folders/08/4fbsxdlx1pdbmlgsbqg3ss3m0000gn/T/clojure-6836176427356659761.edn
Strange that lein-git-version
still emits warning after I got a commit.
Related repo https://github.com/minimal-xyz/minimal-cljs-deploy .
Happy to accept a PR to improve how error messages are found/reported. I think in both those cases behaviour is what one would expect and the real error is reported, but one has to scan the stack to find it.
Not familiar with JVM Clojure, which library do you suggest to display errors?
Trying with an new repo, zero commits:
I don't know what's happening here. and BTW why is there a
lein-git-version
, are we using lein?and only useful message here is: