Skip to content

Instantly share code, notes, and snippets.

@rtyley
Created June 3, 2015 15:01
Show Gist options
  • Select an option

  • Save rtyley/b97c096ef1895a68570c to your computer and use it in GitHub Desktop.

Select an option

Save rtyley/b97c096ef1895a68570c to your computer and use it in GitHub Desktop.
Running `sbt release` on guardian/content-api-scala-client
$ sbt
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
[info] Loading global plugins from /home/rtyley/.sbt/0.13/plugins
[info] Loading project definition from /home/rtyley/development/content-api-scala-client/project/project
[info] Loading project definition from /home/rtyley/development/content-api-scala-client/project
[info] Compiling 1 Scala source to /home/rtyley/development/content-api-scala-client/project/target/scala-2.10/sbt-0.13/classes...
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
> release
[info] Starting release process off commit: 618334c0da8ad16e24f774cfe9dd84f0af60c85d
[info] Checking remote [origin] ...
Release version [6.4] :
Next version [6.5-SNAPSHOT] :
[success] Total time: 0 s, completed 03-Jun-2015 15:54:15
[info] Setting scala version to 2.11.6
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] Updating {file:/home/rtyley/development/content-api-scala-client/}content-api-client...
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[info] Compiling 9 Scala sources to /home/rtyley/development/content-api-scala-client/target/scala-2.11/classes...
[info] Compiling 8 Scala sources to /home/rtyley/development/content-api-scala-client/target/scala-2.11/test-classes...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[info] ContentApiQueryTest:
[info] ItemQuery.toString
[info] - should be excellent
[info] SearchQuery.toString
[info] - should also be excellent
[info] SectionsQuery.toString
[info] - should be beautiful
[info] TagsQuery.toString
[info] - should be awesome
[info] JsonParserEditionsTest:
[info] editions parser
[info] - should parse basic response fields
[info] - should parse the editions
[info] JsonParserTagsTest:
[info] tags parser
[info] - should parse basic response fields
[info] - should parse the tags
[info] JsonParserSectionsTest:
[info] sections parser
[info] - should parse basic response fields
[info] - should parse the sections
[info] JsonParserSearchTest:
[info] - should parse basic response fields
[info] - should parse the content
[info] GuardianContentClientTest:
[info] client interface
[info] - should successfully call the Content API
[info] - should return errors as a broken promise
[info] - should correctly add API key to request
[info] - should understand custom parameters
[info] - should perform a given item query
[info] JsonParserItemTest:
[info] content item parser
[info] - should parse basic response fields
[info] - should only include a content item
[info] - should parse content fields
[info] - should parse content tags
[info] - should parse content elements
[info] - should parse content references
[info] - should parse content rights
[info] tag item parser
[info] - should parse basic response fields
[info] - should include a tag item, results, and lead content
[info] - should parse tag
[info] - should parse tag results
[info] - should parse tag lead content
[info] section item parser
[info] - should parse basic response fields
[info] - should include a section item, edition, and results
[info] - should parse section
[info] - should parse section edition
[info] - should parse the publication date of content
[info] - should parse the publication dates of blocks
[info] - should parse the users of blocks
[info] - should parse the blocks elements
[info] - should parse a text element for a block
[info] - should parse a video element for a block
[info] - should parse a tweet element for a block
[info] - should have the correct typeData for a text element for a block
[info] - should have the correct typeData for a video element for a block
[info] - should have the correct typeData for a tweet element for a block
[info] - should have the correct typeData for a image element for a block
[info] Run completed in 816 milliseconds.
[info] Total number of tests run: 44
[info] Suites: completed 7, aborted 0
[info] Tests: succeeded 44, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 13 s, completed 03-Jun-2015 15:54:28
[info] Setting scala version to 2.10.5
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] Updating {file:/home/rtyley/development/content-api-scala-client/}content-api-client...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading https://repo1.maven.org/maven2/org/json4s/json4s-native_2.10/3.2.11/json4s-native_2.10-3.2.11.jar ...
[info] [SUCCESSFUL ] org.json4s#json4s-native_2.10;3.2.11!json4s-native_2.10.jar (378ms)
[info] downloading https://repo1.maven.org/maven2/org/json4s/json4s-ext_2.10/3.2.11/json4s-ext_2.10-3.2.11.jar ...
[info] [SUCCESSFUL ] org.json4s#json4s-ext_2.10;3.2.11!json4s-ext_2.10.jar (379ms)
[info] downloading https://repo1.maven.org/maven2/net/databinder/dispatch/dispatch-core_2.10/0.11.3/dispatch-core_2.10-0.11.3.jar ...
[info] [SUCCESSFUL ] net.databinder.dispatch#dispatch-core_2.10;0.11.3!dispatch-core_2.10.jar (509ms)
[info] downloading https://repo1.maven.org/maven2/org/json4s/json4s-core_2.10/3.2.11/json4s-core_2.10-3.2.11.jar ...
[info] [SUCCESSFUL ] org.json4s#json4s-core_2.10;3.2.11!json4s-core_2.10.jar (440ms)
[info] downloading https://repo1.maven.org/maven2/org/json4s/json4s-ast_2.10/3.2.11/json4s-ast_2.10-3.2.11.jar ...
[info] [SUCCESSFUL ] org.json4s#json4s-ast_2.10;3.2.11!json4s-ast_2.10.jar (261ms)
[info] Done updating.
[info] Compiling 9 Scala sources to /home/rtyley/development/content-api-scala-client/target/scala-2.10/classes...
[info] Compiling 8 Scala sources to /home/rtyley/development/content-api-scala-client/target/scala-2.10/test-classes...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[info] ContentApiQueryTest:
[info] ItemQuery.toString
[info] - should be excellent
[info] SearchQuery.toString
[info] - should also be excellent
[info] SectionsQuery.toString
[info] - should be beautiful
[info] TagsQuery.toString
[info] - should be awesome
[info] JsonParserEditionsTest:
[info] editions parser
[info] - should parse basic response fields
[info] - should parse the editions
[info] JsonParserTagsTest:
[info] tags parser
[info] - should parse basic response fields
[info] - should parse the tags
[info] JsonParserSectionsTest:
[info] sections parser
[info] - should parse basic response fields
[info] - should parse the sections
[info] JsonParserSearchTest:
[info] - should parse basic response fields
[info] - should parse the content
[info] GuardianContentClientTest:
[info] client interface
[info] - should successfully call the Content API
[info] - should return errors as a broken promise
[info] - should correctly add API key to request
[info] - should understand custom parameters
[info] - should perform a given item query
[info] JsonParserItemTest:
[info] content item parser
[info] - should parse basic response fields
[info] - should only include a content item
[info] - should parse content fields
[info] - should parse content tags
[info] - should parse content elements
[info] - should parse content references
[info] - should parse content rights
[info] tag item parser
[info] - should parse basic response fields
[info] - should include a tag item, results, and lead content
[info] - should parse tag
[info] - should parse tag results
[info] - should parse tag lead content
[info] section item parser
[info] - should parse basic response fields
[info] - should include a section item, edition, and results
[info] - should parse section
[info] - should parse section edition
[info] - should parse the publication date of content
[info] - should parse the publication dates of blocks
[info] - should parse the users of blocks
[info] - should parse the blocks elements
[info] - should parse a text element for a block
[info] - should parse a video element for a block
[info] - should parse a tweet element for a block
[info] - should have the correct typeData for a text element for a block
[info] - should have the correct typeData for a video element for a block
[info] - should have the correct typeData for a tweet element for a block
[info] - should have the correct typeData for a image element for a block
[info] Run completed in 941 milliseconds.
[info] Total number of tests run: 44
[info] Suites: completed 7, aborted 0
[info] Tests: succeeded 44, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 21 s, completed 03-Jun-2015 15:54:50
[info] Setting scala version to 2.11.6
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] Setting version to '6.4'.
[info] Reapplying settings...
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] [master 96acf1f] Setting version to 6.4
[info] 1 file changed, 1 insertion(+), 1 deletion(-)
[info] Reapplying settings...
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] Reapplying settings...
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] Setting scala version to 2.11.6
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] Updating {file:/home/rtyley/development/content-api-scala-client/}content-api-client...
[info] Packaging /home/rtyley/development/content-api-scala-client/target/scala-2.11/content-api-client_2.11-6.4-sources.jar ...
[info] Done packaging.
[info] Wrote /home/rtyley/development/content-api-scala-client/target/scala-2.11/content-api-client_2.11-6.4.pom
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[info] :: delivering :: com.gu#content-api-client_2.11;6.4 :: 6.4 :: release :: Wed Jun 03 15:54:51 BST 2015
[info] delivering ivy file to /home/rtyley/development/content-api-scala-client/target/scala-2.11/ivy-6.4.xml
[info] Packaging /home/rtyley/development/content-api-scala-client/target/scala-2.11/content-api-client_2.11-6.4.jar ...
[info] Main Scala API documentation to /home/rtyley/development/content-api-scala-client/target/scala-2.11/api...
[info] Done packaging.
model contains 66 documentable templates
[info] Main Scala API documentation successful.
[info] Packaging /home/rtyley/development/content-api-scala-client/target/scala-2.11/content-api-client_2.11-6.4-javadoc.jar ...
[info] Done packaging.
Please enter PGP passphrase (or ENTER to abort): *******************
[info] published content-api-client_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.11/6.4/content-api-client_2.11-6.4-javadoc.jar
[info] published content-api-client_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.11/6.4/content-api-client_2.11-6.4-javadoc.jar.asc
[info] published content-api-client_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.11/6.4/content-api-client_2.11-6.4-sources.jar.asc
[info] published content-api-client_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.11/6.4/content-api-client_2.11-6.4.jar.asc
[info] published content-api-client_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.11/6.4/content-api-client_2.11-6.4.pom
[info] published content-api-client_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.11/6.4/content-api-client_2.11-6.4.pom.asc
[info] published content-api-client_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.11/6.4/content-api-client_2.11-6.4-sources.jar
[info] published content-api-client_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.11/6.4/content-api-client_2.11-6.4.jar
[info] Setting scala version to 2.10.5
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] Updating {file:/home/rtyley/development/content-api-scala-client/}content-api-client...
[info] Wrote /home/rtyley/development/content-api-scala-client/target/scala-2.10/content-api-client_2.10-6.4.pom
[info] Packaging /home/rtyley/development/content-api-scala-client/target/scala-2.10/content-api-client_2.10-6.4-sources.jar ...
[info] Resolving org.scala-lang#scala-library;2.10.5 ...
[info] Done packaging.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] :: delivering :: com.gu#content-api-client_2.10;6.4 :: 6.4 :: release :: Wed Jun 03 15:56:58 BST 2015
[info] delivering ivy file to /home/rtyley/development/content-api-scala-client/target/scala-2.10/ivy-6.4.xml
[info] Main Scala API documentation to /home/rtyley/development/content-api-scala-client/target/scala-2.10/api...
[info] Packaging /home/rtyley/development/content-api-scala-client/target/scala-2.10/content-api-client_2.10-6.4.jar ...
[info] Done packaging.
model contains 66 documentable templates
[info] Main Scala API documentation successful.
[info] Packaging /home/rtyley/development/content-api-scala-client/target/scala-2.10/content-api-client_2.10-6.4-javadoc.jar ...
[info] Done packaging.
[info] published content-api-client_2.10 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.10/6.4/content-api-client_2.10-6.4-javadoc.jar
[info] published content-api-client_2.10 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.10/6.4/content-api-client_2.10-6.4-javadoc.jar.asc
[info] published content-api-client_2.10 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.10/6.4/content-api-client_2.10-6.4-sources.jar.asc
[info] published content-api-client_2.10 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.10/6.4/content-api-client_2.10-6.4.jar.asc
[info] published content-api-client_2.10 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.10/6.4/content-api-client_2.10-6.4.pom
[info] published content-api-client_2.10 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.10/6.4/content-api-client_2.10-6.4.pom.asc
[info] published content-api-client_2.10 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.10/6.4/content-api-client_2.10-6.4-sources.jar
[info] published content-api-client_2.10 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/gu/content-api-client_2.10/6.4/content-api-client_2.10-6.4.jar
[info] Setting scala version to 2.11.6
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] Setting version to '6.5-SNAPSHOT'.
[info] Reapplying settings...
[info] Set current project to content-api-client (in build file:/home/rtyley/development/content-api-scala-client/)
[info] [master 819246c] Setting version to 6.5-SNAPSHOT
[info] 1 file changed, 1 insertion(+), 1 deletion(-)
[info] Nexus repository URL: https://oss.sonatype.org/service/local
[info] Reading staging repository profiles...
[info] Reading staging profiles...
[info] Closing staging repository [comgu-1350] status:open, profile:com.gu(99a3282c299dc)
[info] Checking activity logs of comgu-1350 ...
[info] Close process is in progress ...
[info] Checking activity logs of comgu-1350 ...
[info] Close process is in progress ...
[info] Checking activity logs of comgu-1350 ...
[info] Close process is in progress ...
[info] Checking activity logs of comgu-1350 ...
[info] Closed successfully
[info] Promoting staging repository [comgu-1350] status:closed, profile:com.gu(99a3282c299dc)
[info] Checking activity logs of comgu-1350 ...
[info] Promoted successfully
[info] Dropping staging repository [comgu-1350] status:released, profile:com.gu(99a3282c299dc)
[info] Dropped successfully: comgu-1350
Push changes to the remote repository (y/n)? [y] Y
[info] git push sends its console output to standard error, which will cause the next few lines to be marked as [error].
[error] To git@github.com:guardian/content-api-scala-client.git
[error] 618334c..819246c master -> master
[error] To git@github.com:guardian/content-api-scala-client.git
[error] * [new tag] v6.4 -> v6.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment