Skip to content

Commit a20a54c

Browse files
committed
chore: reset release plz
Signed-off-by: Todd Baert <[email protected]>
1 parent a2ce781 commit a20a54c

File tree

15 files changed

+137
-40
lines changed

15 files changed

+137
-40
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ jobs:
1616
uses: actions/checkout@v3
1717

1818
- name: Set up JDK 18
19+
if: ${{ steps.release.outputs.releases_created }}
1920
uses: actions/setup-java@v3
2021
with:
2122
java-version: "18"
2223
distribution: "temurin"
2324
cache: maven
25+
server-id: ossrh
26+
server-username: OSSRH_USERNAME
27+
server-password: OSSRH_PASSWORD
2428

2529
- name: Cache local Maven repository
2630
uses: actions/cache@v2
@@ -37,4 +41,7 @@ jobs:
3741
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
3842

3943
- name: Maven Verify
40-
run: mvn --no-transfer-progress --batch-mode --settings release/m2-settings.xml verify
44+
run: mvn --batch-mode --settings release/m2-settings.xml verify
45+
env:
46+
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
47+
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

.github/workflows/release-please.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
java-version: "18"
3333
distribution: "temurin"
3434
cache: maven
35+
server-id: ossrh
36+
server-username: OSSRH_USERNAME
37+
server-password: OSSRH_PASSWORD
3538

3639
- name: Cache local Maven repository
3740
if: ${{ steps.release.outputs.releases_created }}
@@ -54,7 +57,7 @@ jobs:
5457
- name: Maven Verify Deploy
5558
if: ${{ steps.release.outputs.releases_created }}
5659
run: |
57-
mvn --no-transfer-progress --batch-mode --settings release/m2-settings.xml verify deploy
60+
mvn --batch-mode --settings release/m2-settings.xml verify deploy
5861
env:
5962
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
6063
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"flagd-provider":"0.1.0","open-telemetry-hook":"0.1.0"}
1+
{}

flagd-provider/CHANGELOG.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

hooks/open-telemetry/CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Changelog
2+
3+
## 0.2.0 (2022-08-16)
4+
5+
6+
### Bug Fixes
7+
8+
* update javadoc ([#51](https://github.com/open-feature/java-sdk-contrib/issues/51)) ([86357c1](https://github.com/open-feature/java-sdk-contrib/commit/86357c1aec5fec443dc96661bf9e5c3edb100808))
9+
10+
## 0.2.0 (2022-08-16)
11+
12+
13+
### Bug Fixes
14+
15+
* update javadoc ([#49](https://github.com/open-feature/java-sdk-contrib/issues/49)) ([32db62b](https://github.com/open-feature/java-sdk-contrib/commit/32db62b599d5e446f33e314bebcbed951efa5039))
16+
17+
## 0.2.0 (2022-08-16)
18+
19+
20+
### Bug Fixes
21+
22+
* update javadoc ([#46](https://github.com/open-feature/java-sdk-contrib/issues/46)) ([8fb6042](https://github.com/open-feature/java-sdk-contrib/commit/8fb6042370bdbe303b0cbdba8993f97414fd24cc))
23+
24+
## 0.2.0 (2022-08-16)
25+
26+
27+
### Bug Fixes
28+
29+
* update javadoc ([#37](https://github.com/open-feature/java-sdk-contrib/issues/37)) ([3735206](https://github.com/open-feature/java-sdk-contrib/commit/373520679c4d7ce6120b30d0a354ad7040d6f030))
30+
31+
## 0.2.0 (2022-08-16)
32+
33+
34+
### Bug Fixes
35+
36+
* update javadoc ([#23](https://github.com/open-feature/java-sdk-contrib/issues/23)) ([194eb5a](https://github.com/open-feature/java-sdk-contrib/commit/194eb5aa3384b1eab70b4f09084a227219a08eaf))
37+
38+
## 0.1.0 (2022-08-15)
39+
40+
41+
### Bug Fixes
42+
43+
* improve javadoc ([#8](https://github.com/open-feature/java-sdk-contrib/issues/8)) ([fb319c3](https://github.com/open-feature/java-sdk-contrib/commit/fb319c3ce691d63741f920becc5a114961b6b4dc))
44+
* remove snapshots ([#5](https://github.com/open-feature/java-sdk-contrib/issues/5)) ([c9d937b](https://github.com/open-feature/java-sdk-contrib/commit/c9d937b07febf26c5bd059ff258c2ee1cecadcd1))
45+
* test ([#11](https://github.com/open-feature/java-sdk-contrib/issues/11)) ([6632752](https://github.com/open-feature/java-sdk-contrib/commit/66327523aa09c479a2fa16eda440d681338d5672))

open-telemetry-hook/pom.xml renamed to hooks/open-telemetry/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<groupId>dev.openfeature.contrib</groupId>
66
<artifactId>java-sdk-contrib</artifactId>
77
<version>0.0.0</version>
8-
<relativePath>../pom.xml</relativePath>
8+
<relativePath>../../pom.xml</relativePath>
99
</parent>
10-
<groupId>dev.openfeature.hooks</groupId>
10+
<groupId>dev.openfeature.contrib.hooks</groupId>
1111
<artifactId>otel</artifactId>
12-
<version>0.1.1-SNAPSHOT</version>
12+
<version>0.2.0</version>
1313

1414
<name>open-telemetry-hook</name>
1515
<description>Open Telemetry Hook</description>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public OpenTelemetryHook() {
1616
}
1717

1818
/**
19-
* A test method.
19+
* A test method...
2020
* @return {boolean}
2121
*/
2222
public static boolean test() {

open-telemetry-hook/CHANGELOG.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

pom.xml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<packaging>pom</packaging>
99

1010
<modules>
11-
<module>open-telemetry-hook</module>
12-
<module>flagd-provider</module>
11+
<module>hooks/open-telemetry</module>
12+
<module>providers/flagd</module>
1313
</modules>
1414

1515
<scm>
@@ -197,10 +197,9 @@
197197
</executions>
198198
<configuration>
199199
<skip>${maven.deploy.skip}</skip>
200-
<repository>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</repository>
201-
<serverId>ossrh</serverId>
200+
<repository>https://repo1.maven.org/maven2</repository>
202201
<snapshotRepository>https://s01.oss.sonatype.org/content/repositories/snapshots</snapshotRepository>
203-
<serverId>ossrh</serverId>
202+
<snapshotServerId>ossrh</snapshotServerId>
204203
</configuration>
205204
</plugin>
206205

@@ -259,6 +258,21 @@
259258
</executions>
260259
</plugin>
261260
<!-- end sign -->
261+
262+
<!-- Begin publish to maven central -->
263+
<plugin>
264+
<groupId>org.sonatype.plugins</groupId>
265+
<artifactId>nexus-staging-maven-plugin</artifactId>
266+
<version>1.6.13</version>
267+
<extensions>true</extensions>
268+
<configuration>
269+
<serverId>ossrh</serverId>
270+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
271+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
272+
<skipNexusStagingDeployMojo>${maven.deploy.skip}</skipNexusStagingDeployMojo>
273+
</configuration>
274+
</plugin>
275+
<!-- End publish to maven central -->
262276
</plugins>
263277
</build>
264278

@@ -272,5 +286,4 @@
272286
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
273287
</repository>
274288
</distributionManagement>
275-
276289
</project>

0 commit comments

Comments
 (0)