Skip to content

Commit

Permalink
Fix Gson version to 2.4 and Jackson version to 2.12.0 when publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyhuo committed Oct 7, 2023
1 parent 75a2255 commit 4d2a038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ getProp(){
publishVersion=$(getProp VERSION_NAME)
snapshotSuffix='SNAPSHOT'

./gradlew publishAllPublicationsToMavenCentral
./gradlew publishAllPublicationsToMavenCentral -PGSON_VERSION=2.4 -PJACKSON_VERSION=2.12.0
if [[ "$publishVersion" != *"$snapshotSuffix"* ]]; then
echo "auto release artifacts of ${publishVersion}"
./gradlew closeAndReleaseRepository
Expand Down

0 comments on commit 4d2a038

Please sign in to comment.