Skip to content

Commit 5db90f1

Browse files
authored
chore: update release please to manage versions on the readme (open-feature#74)
update release please to manage versions on the readme Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com> Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
1 parent 9ec42f9 commit 5db90f1

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ class MyClass {
6161
### Add it to your build
6262

6363
#### Maven
64+
<!-- x-release-please-start-version -->
6465
```xml
6566
<dependency>
6667
<groupId>dev.openfeature</groupId>
6768
<artifactId>javasdk</artifactId>
68-
<version>0.1.1</version>
69+
<version>0.2.1</version>
6970
</dependency>
7071
```
72+
<!-- x-release-please-end-version -->
7173

7274
If you would like snapshot builds, this is the relevant repository information:
7375

@@ -85,11 +87,13 @@ If you would like snapshot builds, this is the relevant repository information:
8587
```
8688

8789
#### Gradle
90+
<!-- x-release-please-start-version -->
8891
```groovy
8992
dependencies {
90-
implementation 'dev.openfeature:javasdk:0.1.1'
93+
implementation 'dev.openfeature:javasdk:0.2.1'
9194
}
9295
```
96+
<!-- x-release-please-end-version -->
9397

9498
### Configure it
9599
To configure it, you'll need to add a provider to the global singleton `OpenFeatureAPI`. From there, you can generate a `Client` which is usable by your code. While you'll likely want a provider for your specific backend, we've provided a `NoOpProvider`, which simply returns the default passed in.

release-please-config.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"bump-patch-for-minor-pre-major": true,
99
"versioning": "default",
1010
"extra-files": [
11-
"pom.xml"
11+
"pom.xml",
12+
"README.md"
1213
]
1314
}
1415
}

0 commit comments

Comments
 (0)