mirror of https://github.com/sbt/sbt.git
Fixing precompiled and nightly build
We noticed that -SNAPSHOT is being published as our nightly. This is because "wow" command (or ++) does not replay version injected by stamp-version.
This commit is contained in:
parent
2f20b71074
commit
4bfeb7f88d
25
build.sbt
25
build.sbt
|
|
@ -604,11 +604,12 @@ def customCommands: Seq[Setting[_]] = Seq(
|
||||||
test.all(safeProjects).value
|
test.all(safeProjects).value
|
||||||
},
|
},
|
||||||
commands += Command.command("release-sbt-local") { state =>
|
commands += Command.command("release-sbt-local") { state =>
|
||||||
"so clean" ::
|
"clean" ::
|
||||||
"allPrecompiled/clean" ::
|
"allPrecompiled/clean" ::
|
||||||
"allPrecompiled/compile" ::
|
"allPrecompiled/compile" ::
|
||||||
"so compile" ::
|
|
||||||
"allPrecompiled/publishLocal" ::
|
"allPrecompiled/publishLocal" ::
|
||||||
|
"so clean" ::
|
||||||
|
"so compile" ::
|
||||||
"so publishLocal" ::
|
"so publishLocal" ::
|
||||||
"reload" ::
|
"reload" ::
|
||||||
state
|
state
|
||||||
|
|
@ -631,27 +632,27 @@ def customCommands: Seq[Setting[_]] = Seq(
|
||||||
*/
|
*/
|
||||||
commands += Command.command("release-sbt") { state =>
|
commands += Command.command("release-sbt") { state =>
|
||||||
// TODO - Any sort of validation
|
// TODO - Any sort of validation
|
||||||
"so clean" ::
|
"checkCredentials" ::
|
||||||
"allPrecompiled/clean" ::
|
"clean" ::
|
||||||
"checkCredentials" ::
|
"allPrecompiled/clean" ::
|
||||||
"conscript-configs" ::
|
|
||||||
"allPrecompiled/compile" ::
|
"allPrecompiled/compile" ::
|
||||||
|
"allPrecompiled/publishSigned" ::
|
||||||
|
"so clean" ::
|
||||||
|
"conscript-configs" ::
|
||||||
"so compile" ::
|
"so compile" ::
|
||||||
"so publishSigned" ::
|
"so publishSigned" ::
|
||||||
"allPrecompiled/publishSigned" ::
|
|
||||||
"publishLauncher" ::
|
"publishLauncher" ::
|
||||||
state
|
state
|
||||||
},
|
},
|
||||||
|
// stamp-version doesn't work with ++ or "so".
|
||||||
commands += Command.command("release-nightly") { state =>
|
commands += Command.command("release-nightly") { state =>
|
||||||
"stamp-version" ::
|
"stamp-version" ::
|
||||||
"so clean" ::
|
"clean" ::
|
||||||
"allPrecompiled/clean" ::
|
"allPrecompiled/clean" ::
|
||||||
"allPrecompiled/compile" ::
|
"allPrecompiled/compile" ::
|
||||||
"so compile" ::
|
|
||||||
"so publish" ::
|
|
||||||
"allPrecompiled/publish" ::
|
"allPrecompiled/publish" ::
|
||||||
"publishLauncher" ::
|
"compile" ::
|
||||||
|
"publish" ::
|
||||||
state
|
state
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue