diff --git a/build.sbt b/build.sbt
index a34239810..6e970d52f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -122,8 +122,8 @@ lazy val root = Project(id="fgbio", base=file("."))
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
"org.scala-lang.modules" %% "scala-xml" % "1.0.6",
- "com.fulcrumgenomics" %% "commons" % "0.4.0-619783e-SNAPSHOT",
- "com.fulcrumgenomics" %% "sopt" % "0.3.1",
+ "com.fulcrumgenomics" %% "commons" % "0.4.0",
+ "com.fulcrumgenomics" %% "sopt" % "0.4.0",
"com.github.samtools" % "htsjdk" % "2.13.0" excludeAll(htsjdkExcludes: _*),
"net.jafama" % "jafama" % "2.1.0",
"org.apache.commons" % "commons-math3" % "3.6.1",
diff --git a/project/build.properties b/project/build.properties
index 394cb75cf..31334bbd3 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1 +1 @@
-sbt.version=1.0.4
+sbt.version=1.1.1
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 3761358db..6d47c1259 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -4,6 +4,6 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.9.3")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.6")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
-addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")
+addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.2")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.0")
diff --git a/run_metrics_doclet.sh b/run_metrics_doclet.sh
index 9ae2d430b..e663f1054 100755
--- a/run_metrics_doclet.sh
+++ b/run_metrics_doclet.sh
@@ -28,10 +28,12 @@
# Simple shell script to generate metrics documentation with scaladoc
###############################################################################
+set -euo pipefail
+
# Uncomment the following line to turn on debugging when running scaladoc
# JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=7777"
sources=$(find src/main/scala -name \*.scala)
-cp=$(sbt -Dsbt.log.noformat=true "export runtime:fullClasspath" 2> /dev/null | fgrep -v '[info]')
+cp=$(sbt -Dsbt.log.noformat=true "export runtime:fullClasspath" 2> /dev/null | tail -n 1)
scaladoc -toolcp $cp -d target -doc-generator com.fulcrumgenomics.internal.FgMetricsDoclet $sources
diff --git a/sonatype.sbt b/sonatype.sbt
index 1ade264c2..5a3ea3970 100644
--- a/sonatype.sbt
+++ b/sonatype.sbt
@@ -7,10 +7,6 @@ pomExtra in Global := {
http://www.opensource.org/licenses/mit-license.html
-
- git@github.com:fulcrumgenomics/fgbio
- scm:git:git@github.com:fulcrumgenomics/fgbio.git
-
nh13
diff --git a/version.sbt b/version.sbt
index 404aa03e0..0d6d27c4b 100644
--- a/version.sbt
+++ b/version.sbt
@@ -1 +1 @@
-version in ThisBuild := "0.5.0-SNAPSHOT"
+version in ThisBuild := "0.5.0"