Skip to content

Commit e3576c5

Browse files
committed
Setup libextism for release too
Signed-off-by: Edoardo Vacchi <[email protected]>
1 parent fdecfa1 commit e3576c5

File tree

2 files changed

+26
-44
lines changed

2 files changed

+26
-44
lines changed

Diff for: .github/workflows/release.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- name: Checkout
2424
uses: actions/checkout@v4
2525

26+
- name: LibExtism
27+
uses: ./.github/actions/libextism
28+
2629
- name: Setup Java
2730
uses: actions/setup-java@v4
2831
with:
@@ -46,7 +49,7 @@ jobs:
4649
- name: Setup Git
4750
run: |
4851
git config user.name "Extism BOT"
49-
git config user.email "[email protected]"
52+
git config user.email "[email protected]"
5053
5154
- name: Set the version
5255
run: |

Diff for: pom.xml

+22-43
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,17 @@
4343

4444
<issueManagement>
4545
<system>Github</system>
46-
<url>https://github.com/extism/extism/issues</url>
46+
<url>https://github.com/extism/java-sdk/issues</url>
4747
</issueManagement>
4848

49+
<distributionManagement>
50+
<repository>
51+
<id>ossrh</id>
52+
<name>Central Repository OSSRH</name>
53+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
54+
</repository>
55+
</distributionManagement>
56+
4957
<properties>
5058
<java.version>11</java.version>
5159
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -62,13 +70,18 @@
6270
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
6371
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
6472

65-
<!-- jreleaser -->
66-
<jreleaser.git.root.search>true</jreleaser.git.root.search>
6773
</properties>
6874

6975
<profiles>
7076
<profile>
7177
<id>release</id>
78+
<distributionManagement>
79+
<snapshotRepository>
80+
<id>ossrh</id>
81+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
82+
</snapshotRepository>
83+
</distributionManagement>
84+
7285
<build>
7386
<plugins>
7487
<plugin>
@@ -115,54 +128,20 @@
115128
</executions>
116129
</plugin>
117130
<plugin>
118-
<groupId>org.jreleaser</groupId>
119-
<artifactId>jreleaser-maven-plugin</artifactId>
120-
<version>1.3.1</version>
131+
<groupId>org.sonatype.plugins</groupId>
132+
<artifactId>nexus-staging-maven-plugin</artifactId>
133+
<extensions>true</extensions>
121134
<configuration>
122-
<jreleaser>
123-
<release>
124-
<github>
125-
<skipRelease>true</skipRelease>
126-
</github>
127-
</release>
128-
<signing>
129-
<active>ALWAYS</active>
130-
<armored>true</armored>
131-
</signing>
132-
<deploy>
133-
<maven>
134-
<nexus2>
135-
<maven-central>
136-
<active>ALWAYS</active>
137-
<url>https://s01.oss.sonatype.org/service/local</url>
138-
<!--
139-
<closeRepository>false</closeRepository>
140-
<releaseRepository>false</releaseRepository>
141-
-->
142-
<stagingRepositories>target/staging-deploy</stagingRepositories>
143-
</maven-central>
144-
</nexus2>
145-
</maven>
146-
</deploy>
147-
</jreleaser>
135+
<serverId>ossrh</serverId>
136+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
137+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
148138
</configuration>
149139
</plugin>
150140
</plugins>
151141
</build>
152142
</profile>
153143
</profiles>
154144

155-
<distributionManagement>
156-
<snapshotRepository>
157-
<id>ossrh</id>
158-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
159-
</snapshotRepository>
160-
<repository>
161-
<id>ossrh</id>
162-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
163-
</repository>
164-
</distributionManagement>
165-
166145
<build>
167146
<plugins>
168147
<plugin>

0 commit comments

Comments
 (0)