Skip to content

Commit

Permalink
build(release): sign build
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
  • Loading branch information
ruromero committed Nov 15, 2023
1 parent 4c9b419 commit 5e882f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions perform_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ print_message() {
remove_snapshot() {
print_message "Removing snapshot from pom"
mvn -B versions:set -DremoveSnapshot -DgenerateBackupPoms=false
mvn clean package -Prelease -Psigned
mvn clean verify -Prelease -Psigned
}

git_push() {
Expand Down Expand Up @@ -56,7 +56,7 @@ perform_release() {
git_tag

next_version ${1:-}
mvn clean verify -Prelease -Psigned
mvn -B clean package
git_commit "updated next development version"
}

Expand All @@ -66,7 +66,7 @@ if [ "main" != $branch ]; then
exit 1
fi

if [ ! -z "$(git status --porcelain)"]; then
if [ ! -z "$(git status --porcelain)" ]; then
echo -e "${RED}Error: Make sure all changes are committed"
exit 1
fi
Expand Down

0 comments on commit 5e882f8

Please sign in to comment.