Fork me on GitHub
#leiningen
<
2023-03-06
>
Maris18:03:57

I want to release a library version with custom id , “<jira-ticket-id>-SNAPSHOT”. How can I do it with leiningen? I got this error Unrecognized version string

serioga18:03:09

so you put defproject my-project "JIRA-1234-SNAPSHOT" and command (which one?) fails?

Maris18:03:26

lein release

Maris18:03:51

I should do

lein deploy
I guess…

serioga18:03:19

lein install also works fine the use-case for lein release not clear for me, probably there is release task which expects specific format for the version number

👍 2
serioga18:03:24

but I would recommend to use combination with normal versioning like 1.0.0-TICKET-1234-SNAPSHOT

Alex Miller (Clojure team)19:03:57

you may have weird version ordering issues if you don't follow the expected maven version numbering scheme

👍 2
Maris19:03:30

I just need one “special” version