Skip to content

Commit

Permalink
feat: setup sbt-ci-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ckipp01 committed Jul 25, 2023
1 parent 0f94312 commit 032499e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ jobs:
./coursier bootstrap com.github.lunatech-labs:cmtc_3:2.0.0-SNAPSHOT -o course-management-tools/bin/cmtc --standalone --bat
zip -r course-management-tools.zip course-management-tools
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

- name: Create Github Release
id: create_release
uses: actions/create-release@v1
Expand Down
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Build._

ThisBuild / dynverVTagPrefix := false

lazy val `course-management-tools` =
(project in file("."))
.aggregate(cmta, cmtc, core, `functional-tests`, docs)
Expand Down
1 change: 0 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ object Build {

lazy val commonSettings = Seq(
organization := "com.github.lunatech-labs",
version := "2.0.0-SNAPSHOT",
scalaVersion := Version.scalaVersion,
scalacOptions ++= CompileOptions.compileOptions,
buildInfoPackage := "com.lunatech.cmt.version",
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.7")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("org.scalameta" % "sbt-native-image" % "0.3.1")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")

0 comments on commit 032499e

Please sign in to comment.