Questions tagged [sbt-git]

4 questions
1
vote
1 answer

Versioning does not increment automatically

I am using https://github.com/sbt/sbt-git to get the benefit of automatic versioning as descript in the section Versioning with Git. My build.sbt file looks as the following: version := "0.1.0" scalaVersion := "2.12.8" scalacOptions ++= Seq( …
softshipper
  • 32,463
  • 51
  • 192
  • 400
0
votes
1 answer

native-package-manager and sbt-git plugins not found on maven repo

I believe that the two plugins are not available anymore on maven central repository. I am not able to add them to the project. Everytime I get the error about unknown artifact. This has stopped working recently. Any idea if about how can I get…
mayank raj
  • 11
  • 1
0
votes
1 answer

How to run a task on particular command?

I am using https://github.com/sbt/sbt-native-packager and https://github.com/sbt/sbt-git plugins. When I run the following command: # docker image sbt docker:publishLocal I would like to carry out this task: git.useGitDescribe := true …
softshipper
  • 32,463
  • 51
  • 192
  • 400
-2
votes
1 answer

How to get git.gitTagToVersionNumber value?

I am using https://github.com/sbt/sbt-git and https://sbt-native-packager.readthedocs.io/en/stable/index.html and would like to assign the value of git.gitTagToVersionNumber to my docker container. I tried: git.useGitDescribe := true Docker /…
softshipper
  • 32,463
  • 51
  • 192
  • 400