Skip to content
Permalink
Browse files
IGNITE-16909 Fix ioctl error in the Maven staging deploy script (#133)
  • Loading branch information
Mmuzaf committed Apr 29, 2022
1 parent 8394cf1 commit 2e9195d80041f518e2f6e5c969af3feb0ea5c6ca
Showing 1 changed file with 6 additions and 2 deletions.
@@ -68,8 +68,12 @@ _logger "Directory: $dir"
_logger "File: $main_file"
_logger "Adds: $adds"

export GPG_TTY=$(tty)

mvn gpg:sign-and-deploy-file -Pgpg -Dfile=$main_file -Durl=$server_url -DrepositoryId=$server_id \
-DretryFailedDeploymentCount=10 -DpomFile=$pom ${adds} --settings ./settings.xml | tee -a ${log}
-DretryFailedDeploymentCount=10 -DpomFile=$pom ${adds} | tee -a ${log}

result="Uploaded"

while IFS='' read -r line || [[ -n "$line" ]]; do
if [[ $line == *ERROR* ]]
@@ -78,7 +82,7 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
fi
done < ${log}

_logger "$(result:-"Uploaded")"
_logger ${result}

_logger " "
_logger "============================================================================="

0 comments on commit 2e9195d

Please sign in to comment.