diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62d4dd3..0383cb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,19 +57,19 @@ jobs: env: SCALA_VERSION: ${{ matrix.scala-version }} SPARK_VERSION: ${{ matrix.spark-version }} - run: ./gradlew build :isolation-forest:publishToMavenLocal -PscalaVersion=$SCALA_VERSION -PsparkVersion=$SPARK_VERSION + run: ./gradlew build publishToMavenLocal -PscalaVersion=$SCALA_VERSION -PsparkVersion=$SPARK_VERSION - name: Release to Maven Central # Release job, only for pushes to the main development branch if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'linkedin/isolation-forest' && !contains(toJSON(github.event.commits.*.message), '[skip release]') - run: ./gradlew :isolation-forest:publishToSonatype closeAndReleaseStagingRepository -i -PscalaVersion=$SCALA_VERSION -PsparkVersion=$SPARK_VERSION + run: ./gradlew publishToSonatype closeAndReleaseStagingRepository -i -PscalaVersion=$SCALA_VERSION -PsparkVersion=$SPARK_VERSION env: SCALA_VERSION: ${{ matrix.scala-version }} SPARK_VERSION: ${{ matrix.spark-version }} - SONATYPE_USER: ${{ secrets.SONATYPE_USER }} - SONATYPE_PWD: ${{ secrets.SONATYPE_PWD }} + SONATYPE_TOKEN_USER: ${{ secrets.SONATYPE_TOKEN_USER }} + SONATYPE_TOKEN_PWD: ${{ secrets.SONATYPE_TOKEN_PWD }} PGP_KEY: ${{ secrets.PGP_KEY }} PGP_PWD: ${{ secrets.PGP_PWD }} diff --git a/version.properties b/version.properties index dbb1b01..abfb071 100644 --- a/version.properties +++ b/version.properties @@ -1,3 +1,3 @@ # Version of the produced binaries. # The version is inferred by shipkit-auto-version Gradle plugin (https://github.com/shipkit/shipkit-auto-version). -version=3.1.* +version=3.2.*