forked from ThoughtWorksInc/Binding.scala
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci.sbt
More file actions
21 lines (15 loc) · 640 Bytes
/
Copy pathci.sbt
File metadata and controls
21 lines (15 loc) · 640 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
val disableDeploySh = TaskKey[Unit]("disable-deploy-sh", "Rename deploy.sh to deploy.sh.disabled.")
disableDeploySh := {
val log = (streams in disableDeploySh).value.log
Process(
"git" :: "mv" :: "--" :: "deploy.sh" :: "deploy.sh.disabled" :: Nil,
baseDirectory.value
) ! log
}
import ReleaseTransformations._
releaseProcess := {
releaseProcess.value.patch(releaseProcess.value.indexOf(commitReleaseVersion), Seq[ReleaseStep](releaseStepTask(disableDeploySh)), 0)
}
pgpSecretRing := baseDirectory.value / "secret" / "secring.asc"
pgpPublicRing := baseDirectory.value / "pubring.asc"
pgpPassphrase := Some(Array.empty)