diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cc4f0c1c..faa66922a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,11 +38,14 @@ jobs: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import env: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} + + - name: Remove SNAPSHOT + run: mvn versions:set -DremoveSnapshot - name: Deploy - run: | + run: | mvn --batch-mode \ - --settings release/m2-settings.xml clean deploy -Dversion.modifier='' + --settings release/m2-settings.xml clean deploy env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} diff --git a/README.md b/README.md index 1458971bf..b5f230b47 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ class MyClass { dev.openfeature javasdk - 0.1.0 + 0.1.1 ``` @@ -87,7 +87,7 @@ If you would like snapshot builds, this is the relevant repository information: #### Gradle ```groovy dependencies { - implementation 'dev.openfeature:javasdk:0.1.0' + implementation 'dev.openfeature:javasdk:0.1.1' } ``` diff --git a/pom.xml b/pom.xml index ad9c1e58d..2e30b6ebb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,11 +4,9 @@ dev.openfeature javasdk - 0.1.0${version.modifier} + 0.1.1-SNAPSHOT - - -SNAPSHOT UTF-8 1.8 ${maven.compiler.source}