From 74b0680fbf3c94d6db210de354a4bc32e18ef287 Mon Sep 17 00:00:00 2001 From: Zihe Jia Date: Fri, 6 Sep 2024 16:12:35 -0700 Subject: [PATCH] New release: 7.5.3 --- README.md | 2 +- gradle.properties | 2 +- maven.gradle | 4 ++++ release.sh | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4319d583..79f0e680 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # Latest Version -##### _April 15, 2024_ - [v7.5.2](https://github.com/mixpanel/mixpanel-android/releases/tag/v7.5.2) +##### _September 06, 2024_ - [v7.5.3](https://github.com/mixpanel/mixpanel-android/releases/tag/v7.5.3) # Table of Contents diff --git a/gradle.properties b/gradle.properties index 63860437..78dda556 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=7.5.3-SNAPSHOT +VERSION_NAME=7.5.3 POM_PACKAGING=aar GROUP=com.mixpanel.android diff --git a/maven.gradle b/maven.gradle index 0dc37ae6..092396e4 100644 --- a/maven.gradle +++ b/maven.gradle @@ -186,6 +186,10 @@ tasks.register('install') { dependsOn 'build', 'androidJavadocsJar', 'androidSourcesJar', 'publishDebugPublicationToMavenLocal' } +tasks.register('publishRelease') { + dependsOn 'publishReleasePublicationToMavenRepository' +} + tasks.named('publishDebugPublicationToMavenLocal') { dependsOn 'androidJavadocsJar', 'androidSourcesJar', 'bundleDebugAar' } diff --git a/release.sh b/release.sh index 3964025b..eb376c77 100755 --- a/release.sh +++ b/release.sh @@ -123,8 +123,8 @@ cleanUp # upload library to maven printf "\n\n${YELLOW}Uploading archives...${NC}\n" -if ! ./gradlew signReleasePublication ; then - printf "${RED}Err.. Seems there was a problem runing ./gradlew signReleasePublication\n${NC}" +if ! ./gradlew publishRelease ; then + printf "${RED}Err.. Seems there was a problem runing ./gradlew publishRelease\n${NC}" abort fi