Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbt-git v2.0.1: wrong version value returned #232

Open
hayssams opened this issue Jan 19, 2023 · 0 comments
Open

sbt-git v2.0.1: wrong version value returned #232

hayssams opened this issue Jan 19, 2023 · 0 comments

Comments

@hayssams
Copy link

hayssams commented Jan 19, 2023

using version 2.0.1, sbt shell return the wrong value for the version setting key. We had to rollback to sbt-git version 2.0.0.

Steps to reproduce:

  • Clone this GitHub Project
  • Update sbt-git version to 2.0.1 in project/plugins.sbt
  • Set version value to 0.6.2 in version.sbt
  • request version in sbt shell
    A version suffixed by SNAPSHOT is returned instead of the value set above
$ git clone https://github.com/starlake-ai/starlake.git
$ cd starlake/
$ cat 'ThisBuild / version := "0.6.2"' >version.sbt 
$ vi project/plugins.sbt # and replace "sbt-git" % "2.0.0" with "sbt-git" % "2.0.1"
$ sbt
[info] welcome to sbt 1.8.2 (Azul Systems, Inc. Java 11.0.16.1)
[info] loading settings for project starlake from build.sbt,version.sbt ...
[info] sbt server started at local:/$HOME/.sbt/1.0/server/a3b0316bf4184aff34d6/sock
[info] started sbt server
sbt (starlake)> version
[info] 0.6.2-1-g94f8c24-SNAPSHOT-SNAPSHOT
sbt (starlake)> 
ppurang added a commit to ppurang/asynch that referenced this issue Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant