diff --git a/ci/build.sc b/ci/build.sc index c4559add5..9565fe706 100755 --- a/ci/build.sc +++ b/ci/build.sc @@ -35,8 +35,10 @@ def updateConstants(version: String = buildVersion, val unstableCurlUrl = "$unstableCurlUrl" } """ + println("Writing Constants.scala") rm! cwd/'project/"Constants.scala" write(cwd/'project/"Constants.scala", versionTxt) + println(read! cwd/'project/"Constants.scala") } def publishSigned() = { @@ -89,6 +91,8 @@ def publishDocs() = { s"snapshot-commit-uploads/$travisTag" ) } + println("(stableKey, unstableKey)") + println((stableKey, unstableKey)) updateConstants( latestTaggedVersion, buildVersion, diff --git a/ci/upload.sc b/ci/upload.sc index 2f808ed22..9e6661ffc 100755 --- a/ci/upload.sc +++ b/ci/upload.sc @@ -4,11 +4,14 @@ import scalaj.http._ @main def shorten(longUrl: String) = { - Http("https://git.io") + println("shorten longUrl " + longUrl) + val shortUrl = Http("https://git.io") .postForm(Seq("url" -> longUrl)) .asString .headers("Location") .head + println("shorten shortUrl " + shortUrl) + shortUrl } @main def apply(uploadedFile: Path,