Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus committed Apr 30, 2024
1 parent aadc602 commit e098234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildscript/deploy_to_maven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
set -e

echo "Deploying ..."
gpg --fast-import --batch --passphrase="$GPG_PASSPHRASE" .buildscript/travis-gumtree-spoon.gpg
gpg --fast-import --batch --passphrase="$GPG_PASSPHRASE" .buildscript/travis-gumtree-spoon-2024.gpg

# getting the previous version on Maven Central
# does not work: PREVIOUS_MAVEN_CENTRAL_VERSION=`curl "http://search.maven.org/solrsearch/select?q=a:gumtree-spoon-ast-diff+g:fr.inria.gforge.spoon.labs&rows=20&wt=json" -L | jq -r ".response.docs[0].latestVersion" | egrep -o "[0-9]+$"`
Expand All @@ -19,6 +19,6 @@ PREVIOUS_MAVEN_CENTRAL_VERSION=`curl "https://www.monperrus.net/martin/last-vers
# and incrementing it
mvn versions:set -DnewVersion=1.$((PREVIOUS_MAVEN_CENTRAL_VERSION+1))

mvn --batch-mode -Prelease deploy --settings .buildscript/settings.xml -Dmaven.test.skip=true -Dgpg.keyname=0EA6DE9E4988911867CA90CA1429025E3EDA19A5 -Dgpg.passphrase="$GPG_PASSPHRASE"
mvn --batch-mode -Prelease deploy --settings .buildscript/settings.xml -Dmaven.test.skip=true -Dgpg.keyname=C66FA3C795FD9999B34514E764DEBBA9B4E5B71C -Dgpg.passphrase="$GPG_PASSPHRASE"

echo "Well deployed!"
Binary file added .buildscript/travis-gumtree-spoon-2024.gpg
Binary file not shown.

0 comments on commit e098234

Please sign in to comment.