sbt / sbt-dynver

An sbt plugin to dynamically set your version from git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should this plugin only be enabled on CI environment?

jtjeferreira opened this issue · comments

This is more a topic for discussion, than an issue, but I realized my target folder is filled with duplicate jars with different versions like the picture shows:

image

I think I fixed it with version ~= (v => if(!ENV.isCI) "1.2.3-SNAPSHOT" else v),

WDYT?

In Play we will now do exactly that: playframework/playframework#11625 - so devs locally use a version string without distance, sha or the dirty part, simple like: 2.8.20.SNAPSHOT, but when running on CI it uses the full version string.