Skip to content

Commit a2fa243

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

File tree

2 files changed

+25
-30
lines changed

2 files changed

+25
-30
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

+21-29
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
<url>https://github.com/extism/extism/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>
@@ -69,6 +77,13 @@
6977
<profiles>
7078
<profile>
7179
<id>release</id>
80+
<distributionManagement>
81+
<snapshotRepository>
82+
<id>ossrh</id>
83+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
84+
</snapshotRepository>
85+
</distributionManagement>
86+
7287
<build>
7388
<plugins>
7489
<plugin>
@@ -115,36 +130,13 @@
115130
</executions>
116131
</plugin>
117132
<plugin>
118-
<groupId>org.jreleaser</groupId>
119-
<artifactId>jreleaser-maven-plugin</artifactId>
120-
<version>1.3.1</version>
133+
<groupId>org.sonatype.plugins</groupId>
134+
<artifactId>nexus-staging-maven-plugin</artifactId>
135+
<extensions>true</extensions>
121136
<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>
137+
<serverId>ossrh</serverId>
138+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
139+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
148140
</configuration>
149141
</plugin>
150142
</plugins>

0 commit comments

Comments
 (0)