Skip to content

Commit

Permalink
Use nexus-staging:deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Scott M Stark <[email protected]>
  • Loading branch information
starksm64 committed Feb 11, 2025
1 parent 8253679 commit 9c86230
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;

Expand Down Expand Up @@ -79,7 +78,7 @@ void writeReleaseScript(String version) throws IOException {
for (TestArtifact artifact : artifacts) {
writer.write(String.format("# %s\n", artifact));
writer.write(String.format("cd %s\n", artifact.getPomDir()));
writer.write("mvn install deploy -DskipTests\n");
writer.write("mvn install gpg:sign nexus-staging:deploy -DskipTests\n");
}
writer.write(String.format("cd %s\n", root.getAbsolutePath()));
writer.close();
Expand Down

0 comments on commit 9c86230

Please sign in to comment.