Skip to content

Commit

Permalink
Fix env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
fforbeck committed Jul 28, 2021
1 parent d28e431 commit c6f3ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ githubOwner := "openlawteam"
githubRepository := "openlaw-core"

githubTokenSource := TokenSource
.Environment("GITHUB_TOKEN")
.Environment("TOKEN")

credentials +=
Credentials(
"GitHub Packages",
"maven.pkg.github.com",
sys.env.getOrElse("USERNAME", "INVALID_USERNAME"),
sys.env.getOrElse("GITHUB_TOKEN", "INVALID_GITHUBTOKEN")
sys.env.getOrElse("TOKEN", "INVALID_GITHUBTOKEN")
)

licenses += ("Apache-2.0", url("https://opensource.org/licenses/Apache-2.0"))
Expand Down Expand Up @@ -73,11 +73,6 @@ lazy val publishSettings = Seq(
publishArtifact in (Test, packageBin) := true,
homepage := Some(url(s"https://github.com/$username/$repo")),
licenses += ("Apache-2.0", url("https://opensource.org/licenses/Apache-2.0")),
bintrayReleaseOnPublish in ThisBuild := true,
bintrayOrganization := Some("openlawos"),
bintrayRepository := "openlaw-core",
bintrayPackageLabels := Seq("openlaw-core"),
bintrayVcsUrl := Some(s"[email protected]:$username/$repo.git"),
scmInfo := Some(
ScmInfo(
url(s"https://github.com/$username/$repo"),
Expand Down
1 change: 0 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
logLevel := Level.Warn

resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/"
resolvers += "Bintray sbt-reactjs" at "https://dl.bintray.com/ddispaltro/sbt-plugins/"
resolvers += Resolver.url(
"sbt-plugins",
url("https://dl.bintray.com/ssidorenko/sbt-plugins/")
Expand Down

0 comments on commit c6f3ca7

Please sign in to comment.