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

Global release switch, tag prefix #37

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
backuitist committed May 9, 2013
commit 5aa1e38be97d4a205a8c389013590d6b29d2b7b2
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.11.3
sbt.version=0.12.2
4 changes: 0 additions & 4 deletions src/main/scala/ReleaseExtra.scala
Original file line number Diff line number Diff line change
@@ -85,10 +85,6 @@ object ReleaseStateTransformations {
val vs = st.get(versions).getOrElse(sys.error("No versions are set! Was this release part executed before inquireVersions?"))
val newVersion = selectVersion(vs)

// TODO check versions are homogeneous
val extracted = st.extract
st.extract.currentProject.aggregate.foreach( p => println("version for " + p + " : " + extracted.get(version.in(p))))

val currentVersion = st.extract.get(version)
if (newVersion == currentVersion) {
st.log.info("No version update needed, version remains '%s'" format currentVersion)