diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index b07adee16..04cc93573 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -59,10 +59,11 @@ jobs: # This means there's no way to skip publishing of a particular module in a multi-module build, so we iterate over each module and publish them individually, # letting exists-maven-plugin skip the nexus-staging-maven-plugin's entire deploy goal if the artifact exists. run: | + mvn --non-recursive --batch-mode --settings release/m2-settings.xml clean deploy modules=($(cat pom.xml | grep "" | sed 's/\s*<.*>\(.*\)<.*>/\1/')) for module in "${modules[@]}" do - mvn --batch-mode --projects $module --settings release/m2-settings.xml clean deploy + mvn --batch-mode --projects $module --settings release/m2-settings.xml clean deploy done env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b56012127..af09d6c17 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{"providers/flagd":"0.3.0","hooks/open-telemetry":"0.2.6"} \ No newline at end of file +{".":"1.0.0","providers/flagd":"0.3.1","hooks/open-telemetry":"0.2.7"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..41e3af1b6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog + +## 1.0.0 (2022-09-16) + + +### ⚠ BREAKING CHANGES + +* update sdk, absorb changes (#97) + +### Features + +* add flagd provider implementation ([#66](https://github.com/open-feature/java-sdk-contrib/issues/66)) ([8d299c4](https://github.com/open-feature/java-sdk-contrib/commit/8d299c41ad0bef8c3e81cc3c50932f1ee254c644)) +* update sdk, absorb changes ([#97](https://github.com/open-feature/java-sdk-contrib/issues/97)) ([ef1d4fe](https://github.com/open-feature/java-sdk-contrib/commit/ef1d4fe2692d74a973a13b33a0617b2a8b295559)) + + +### Bug Fixes + +* build issue with single publish ([#81](https://github.com/open-feature/java-sdk-contrib/issues/81)) ([de03321](https://github.com/open-feature/java-sdk-contrib/commit/de0332125253ff61df388caa502dbfecc244531a)) +* improve javadoc ([#8](https://github.com/open-feature/java-sdk-contrib/issues/8)) ([fb319c3](https://github.com/open-feature/java-sdk-contrib/commit/fb319c3ce691d63741f920becc5a114961b6b4dc)) +* javadoc ([#1](https://github.com/open-feature/java-sdk-contrib/issues/1)) ([637e3b4](https://github.com/open-feature/java-sdk-contrib/commit/637e3b41b3b73aa11b7ea51b555d6952b51eb60e)) +* publish parent pom ([#99](https://github.com/open-feature/java-sdk-contrib/issues/99)) ([1150527](https://github.com/open-feature/java-sdk-contrib/commit/11505272d0a2e20a66476e5ca6029b6ff3e923b1)) +* remove snapshots ([#5](https://github.com/open-feature/java-sdk-contrib/issues/5)) ([c9d937b](https://github.com/open-feature/java-sdk-contrib/commit/c9d937b07febf26c5bd059ff258c2ee1cecadcd1)) +* reset manifest ([c61434c](https://github.com/open-feature/java-sdk-contrib/commit/c61434cef808f607c628b23396742a0c3e1839d2)) +* test ([#11](https://github.com/open-feature/java-sdk-contrib/issues/11)) ([6632752](https://github.com/open-feature/java-sdk-contrib/commit/66327523aa09c479a2fa16eda440d681338d5672)) +* test fix publish ([#83](https://github.com/open-feature/java-sdk-contrib/issues/83)) ([0eebfe3](https://github.com/open-feature/java-sdk-contrib/commit/0eebfe3f7ff711455776092a0cb231ba686eb2d3)) +* test fix publish again ([#85](https://github.com/open-feature/java-sdk-contrib/issues/85)) ([3769e09](https://github.com/open-feature/java-sdk-contrib/commit/3769e09285dbbe4edd15f6d4801364e21bfc9c67)) +* update javadoc ([#13](https://github.com/open-feature/java-sdk-contrib/issues/13)) ([a28a14a](https://github.com/open-feature/java-sdk-contrib/commit/a28a14a48e2fdfc800eb45efbae09411cef6697e)) +* update javadoc ([#17](https://github.com/open-feature/java-sdk-contrib/issues/17)) ([88d24cf](https://github.com/open-feature/java-sdk-contrib/commit/88d24cf48dcf6defd28ed0a7df466324e788ba9c)) +* update javadoc ([#57](https://github.com/open-feature/java-sdk-contrib/issues/57)) ([7a64cfa](https://github.com/open-feature/java-sdk-contrib/commit/7a64cfa0ab835139603e4a582f3a2b91f24207bb)) +* update javadoc ([#63](https://github.com/open-feature/java-sdk-contrib/issues/63)) ([3a4b7d8](https://github.com/open-feature/java-sdk-contrib/commit/3a4b7d83e2272d43e252f6a1201c4e3a7aee4330)) +* use read ossrh repo for exists plugin ([#87](https://github.com/open-feature/java-sdk-contrib/issues/87)) ([bda2651](https://github.com/open-feature/java-sdk-contrib/commit/bda265194e4a94a2d220b8ef400a0703cb32c235)) diff --git a/README.md b/README.md index 50e6e69fb..ed748d80c 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,8 @@ Sample pom.xml: 4.0.0 dev.openfeature.contrib - java-sdk-contrib - 0.0.0 + parent + ../../pom.xml dev.openfeature.contrib.${providers | hooks | etc} diff --git a/hooks/open-telemetry/CHANGELOG.md b/hooks/open-telemetry/CHANGELOG.md index 41b202552..8e00c3004 100644 --- a/hooks/open-telemetry/CHANGELOG.md +++ b/hooks/open-telemetry/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.2.7](https://github.com/open-feature/java-sdk-contrib/compare/dev.openfeature.contrib.hooks.otel-v0.2.6...dev.openfeature.contrib.hooks.otel-v0.2.7) (2022-09-16) + + +### Bug Fixes + +* publish parent pom ([#99](https://github.com/open-feature/java-sdk-contrib/issues/99)) ([1150527](https://github.com/open-feature/java-sdk-contrib/commit/11505272d0a2e20a66476e5ca6029b6ff3e923b1)) + ## [0.2.6](https://github.com/open-feature/java-sdk-contrib/compare/dev.openfeature.contrib.hooks.otel-v0.2.5...dev.openfeature.contrib.hooks.otel-v0.2.6) (2022-09-16) diff --git a/hooks/open-telemetry/pom.xml b/hooks/open-telemetry/pom.xml index 725c82230..2bfe97b04 100644 --- a/hooks/open-telemetry/pom.xml +++ b/hooks/open-telemetry/pom.xml @@ -3,13 +3,13 @@ 4.0.0 dev.openfeature.contrib - java-sdk-contrib - 0.0.0 + parent + 0.0.1 ../../pom.xml dev.openfeature.contrib.hooks otel - 0.2.6 + 0.2.7 open-telemetry-hook Open Telemetry Hook diff --git a/hooks/open-telemetry/version.txt b/hooks/open-telemetry/version.txt index 53a75d673..b0032849c 100644 --- a/hooks/open-telemetry/version.txt +++ b/hooks/open-telemetry/version.txt @@ -1 +1 @@ -0.2.6 +0.2.7 diff --git a/pom.xml b/pom.xml index edcffb8a3..d08e26cbd 100644 --- a/pom.xml +++ b/pom.xml @@ -3,10 +3,23 @@ 4.0.0 dev.openfeature.contrib - java-sdk-contrib - 0.0.0 + parent + 0.0.1 pom + java-sdk-contrib + Contrib parent + https://openfeature.dev + + + + toddbaert + Todd Baert + OpenFeature + https://openfeature.dev/ + + + hooks/open-telemetry providers/flagd diff --git a/providers/flagd/CHANGELOG.md b/providers/flagd/CHANGELOG.md index 02ae907ce..64d0ae028 100644 --- a/providers/flagd/CHANGELOG.md +++ b/providers/flagd/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.3.1](https://github.com/open-feature/java-sdk-contrib/compare/dev.openfeature.contrib.providers.flagd-v0.3.0...dev.openfeature.contrib.providers.flagd-v0.3.1) (2022-09-16) + + +### Bug Fixes + +* publish parent pom ([#99](https://github.com/open-feature/java-sdk-contrib/issues/99)) ([1150527](https://github.com/open-feature/java-sdk-contrib/commit/11505272d0a2e20a66476e5ca6029b6ff3e923b1)) + ## [0.3.0](https://github.com/open-feature/java-sdk-contrib/compare/dev.openfeature.contrib.providers.flagd-v0.2.4...dev.openfeature.contrib.providers.flagd-v0.3.0) (2022-09-16) diff --git a/providers/flagd/pom.xml b/providers/flagd/pom.xml index bb663daf6..3e96e6b7e 100644 --- a/providers/flagd/pom.xml +++ b/providers/flagd/pom.xml @@ -3,13 +3,13 @@ 4.0.0 dev.openfeature.contrib - java-sdk-contrib - 0.0.0 + parent + 0.0.1 ../../pom.xml dev.openfeature.contrib.providers flagd - 0.3.0 + 0.3.1 flagd FlagD provider for Java diff --git a/providers/flagd/version.txt b/providers/flagd/version.txt index 0d91a54c7..9e11b32fc 100644 --- a/providers/flagd/version.txt +++ b/providers/flagd/version.txt @@ -1 +1 @@ -0.3.0 +0.3.1 diff --git a/release-please-config.json b/release-please-config.json index 3996591ab..fad94c072 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,6 +1,16 @@ { "bootstrap-sha": "5b1c87955b5d66b993f943161b72b30c398c1537", "packages": { + ".": { + "package-name": "dev.openfeature.contrib.parent", + "release-type": "simple", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "versioning": "default", + "extra-files": [ + "pom.xml" + ] + }, "providers/flagd": { "package-name": "dev.openfeature.contrib.providers.flagd", "release-type": "simple", diff --git a/version.txt b/version.txt new file mode 100644 index 000000000..3eefcb9dd --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +1.0.0