From 4d88ed3445187a9c20b8ee35ca77ac3be1b1fa5e Mon Sep 17 00:00:00 2001 From: James Verbus Date: Tue, 3 Sep 2024 17:30:31 -0700 Subject: [PATCH] Updated version to 3.2.*. This includes a fix to use SONATYPE tokens in ci.yml. --- .github/workflows/ci.yml | 8 ++++---- version.properties | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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.*