Fork me on GitHub
#clojars
<
2024-06-26
>
exitsandman11:06:06

Hello. I'm trying to deploy to Clojars using deps-deploy (effectively with the deps-new build script) but I keep getting invalid-token rejections. I have created an account and a token, set the environment variables CLOJARS_USERNAME and CLOJARS_PASSWORD respectively to my Clojars username and the token, and then ran clojure T:build deploy . My pom.xml looks like https://pastebin.com/KTkaWHuV, the token like CLOJARS_1234.... I tried this process both in windows and with WSL, to no avail. Am I missing something?

tcrawley12:06:37

Looking at the logs, I can see your deploy attempts, and invalid-token is only reported when one of the following is true: • no token is provided • the token doesn't exist • the token doesn't belong to the account for the username • the token is disabled So I would double check that you are sending the correct token.