Skip to content

Commit

Permalink
chore: fix publish-to-maven script (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove authored Sep 25, 2024
1 parent f31f6cc commit 94093f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ filtered_rat.txt
dev/dist
apache-rat-*.jar
venv
dev/release/comet-rm/workdir
4 changes: 2 additions & 2 deletions dev/release/publish-to-maven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ then
fi

# Default GPG command to use
GPG="gpg"
GPG="gpg --pinentry-mode loopback"
if [ "$GPG_KEY" != "" ]
then
GPG="$GPG -u $GPG_KEY"
Expand All @@ -96,7 +96,7 @@ GIT_HASH=$(git rev-parse --short HEAD)
echo "Creating Nexus staging repository"

REPO_REQUEST="<promoteRequest><data><description>Apache Datafusion Comet $COMET_VERSION (commit $GIT_HASH)</description></data></promoteRequest>"
REPO_REQUEST_RESPONSE=$(curl -I -X POST -d "$REPO_REQUEST" -u $ASF_USERNAME:$ASF_PASSWORD \
REPO_REQUEST_RESPONSE=$(curl -X POST -d "$REPO_REQUEST" -u $ASF_USERNAME:$ASF_PASSWORD \
-H "Content-Type:application/xml" \
$NEXUS_ROOT/profiles/$NEXUS_PROFILE/start)
if [ $? -ne 0 ]
Expand Down

0 comments on commit 94093f3

Please sign in to comment.