From a6dfa0d8d76f9760048e39ce6128f07f9cebcaa8 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Tue, 6 Dec 2022 13:59:50 +0900 Subject: [PATCH] v0.7.0 --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ README.md | 2 +- build.sbt | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..4eb3900 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +on: + push: + branches: [master] + tags: ["*"] +jobs: + publish: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/setup-java@v3 + with: + java-version: 8 + distribution: temurin + - run: sbt ci-release + if: ${{ github.repository_owner == 'sbt' }} + env: + PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} + PGP_SECRET: ${{ secrets.PGP_SECRET }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} diff --git a/README.md b/README.md index c9ab870..6f4698b 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ the web with GitHub Pages where it will be served at Create a `project/ghpages.sbt` file that looks like the following: ```scala -addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3") +addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.7.0") ``` Then in your `build.sbt` file, simply enable the GhpagesPlugin via an diff --git a/build.sbt b/build.sbt index 3a006be..0d428fd 100644 --- a/build.sbt +++ b/build.sbt @@ -22,7 +22,7 @@ name := "sbt-ghpages" organization := "com.github.sbt" -version := "0.6.4-SNAPSHOT" +version := "0.7.0" addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1")