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

releaseVersionFile setting appears to be ignored #252

Open
Facsimiler opened this issue Aug 5, 2019 · 3 comments
Open

releaseVersionFile setting appears to be ignored #252

Facsimiler opened this issue Aug 5, 2019 · 3 comments

Comments

@Facsimiler
Copy link

Facsimiler commented Aug 5, 2019

I have put my version information in a file named ./Version.sbt (note capital first letter). SBT reads this file in, and sets the version correctly.

I have defined the property releaseVersionFile as follows:

releaseVersionFile := file("Version.sbt")

However, after performing a release, I find that I have both a ./Version.sbt file (with its contents unmodified) and a ./version.sbt file (with an updated version number).

Any ideas?

I'm running on Linux Mint (19.2), using Java Zulu OpenJDK 8.

@bbstilson
Copy link

I think this is because the file is hardcoded here

@Facsimiler
Copy link
Author

@bbstilson That's not a hard-coded value, just the default value. All SBT properties must be initialized, and all of them can be assigned new values.

@tyger
Copy link

tyger commented Jun 17, 2022

Is there any update on that?
Having the same behaviour that releaseVersionFile property is not respected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants