Skip to content

Commit

Permalink
fix: build and release native image
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra committed Mar 20, 2023
1 parent c184039 commit 0d4eb45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
[
"@semantic-release/exec",
{
"prepareCmd": "mvn -B -ntp versions:set -DgenerateBackupPoms=false -DnewVersion=${nextRelease.version}",
"publishCmd": "mvn -B -ntp -Ppublish-ghcr -DskipTests spring-boot:build-image"
"prepareCmd": "mvn -B -ntp clean versions:set -DgenerateBackupPoms=false -DnewVersion=${nextRelease.version}",
"publishCmd": "./publish.sh"
}
],
[
Expand Down
3 changes: 3 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
mvn -B -ntp -Ppublish-ghcr -DskipTests spring-boot:build-image
mvn -B -ntp -Pnative -Ppublish-ghcr -DskipTests spring-boot:build-image

0 comments on commit 0d4eb45

Please sign in to comment.