Skip to content

Commit

Permalink
chore: update release please to manage versions on the readme (open-f…
Browse files Browse the repository at this point in the history
…eature#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>
  • Loading branch information
beeme1mr authored Sep 14, 2022
1 parent 9ec42f9 commit 5db90f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ class MyClass {
### Add it to your build

#### Maven
<!-- x-release-please-start-version -->
```xml
<dependency>
<groupId>dev.openfeature</groupId>
<artifactId>javasdk</artifactId>
<version>0.1.1</version>
<version>0.2.1</version>
</dependency>
```
<!-- x-release-please-end-version -->

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

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

#### Gradle
<!-- x-release-please-start-version -->
```groovy
dependencies {
implementation 'dev.openfeature:javasdk:0.1.1'
implementation 'dev.openfeature:javasdk:0.2.1'
}
```
<!-- x-release-please-end-version -->

### Configure it
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.
Expand Down
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"bump-patch-for-minor-pre-major": true,
"versioning": "default",
"extra-files": [
"pom.xml"
"pom.xml",
"README.md"
]
}
}
Expand Down

0 comments on commit 5db90f1

Please sign in to comment.