Skip to content

Commit

Permalink
Merge pull request #5 from kanyun-inc/feature/fix-dependecies
Browse files Browse the repository at this point in the history
Fix Gson version to 2.4 and Jackson version to 2.12.0 when publishing.
  • Loading branch information
RicardoJiang committed Oct 7, 2023
2 parents 1619795 + e01ee9c commit f86cf43
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 f86cf43

Please sign in to comment.