3
votes

I have a multi project SBT with four subprojects. I'd like to have separate versions for each subproject with a version.sbt in each. I'm using sbt-release. Readme says there is a setting release-version-file that should do this but it doesn't seem to be working for me. This is the error I get

release-version-file := file("subproject/version.sbt")

/source/root/subproject/build.sbt:3: error: not found: value release

release-version-file := file("subproject/version.sbt")

I also found another setting releaseVersionFile this one did't throw any error but it also didn't seem to pick up the version from correct file.

releaseVersionFile := file("subproject/version.sbt")

I'm using sbt 0.13.15, sbt-release 1.0.5 and sbt-assembly 0.14.5

1
Are you sure? The 'versionFile' setting mentioned in the answer no longer exists.Cheeko

1 Answers

1
votes

I did get this to work with releaseVersionFile. More info in this github issue.