This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-26
Channels
- # announcements (21)
- # babashka (31)
- # beginners (64)
- # calva (51)
- # clerk (4)
- # cljdoc (7)
- # clojars (2)
- # clojure (63)
- # clojure-denmark (2)
- # clojure-europe (15)
- # clojure-nl (2)
- # clojure-norway (22)
- # clojure-sweden (5)
- # clojure-uk (15)
- # data-science (8)
- # datomic (23)
- # graalvm (6)
- # honeysql (3)
- # hoplon (3)
- # hyperfiddle (11)
- # jobs-discuss (6)
- # lsp (4)
- # pathom (26)
- # reitit (4)
- # releases (2)
- # shadow-cljs (41)
- # spacemacs (2)
- # xtdb (1)
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?
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.