File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,10 @@ gradle clean :app:compileDebugSources :app:compileDebugAndroidTestSources :libra
5757# DEPLOY TO MAVEN #
5858# ##################
5959read -p " Next, make sure this repo is clean and up to date. We will be kicking off a deploy to maven." DERP
60- # the next line perform an entire build+release from maven, meaning it does not generate an aar
61- mvn release:clean release:prepare release:perform -Dtag=v$VERSION
6260# the next line installs the output of build.gradle into (local) maven, but does not tag it in git
6361# mvn install:install-file -Dfile=library/build/outputs/aar/library-release.aar -DgroupId=com.firebase -DartifactId=firebase-ui -Dversion=$VERSION -Dpackaging=aar
64- # this runs a gradle task that uploads the aar file to maven central
65- # gradle uploadArchives
62+ # the next line signs and deploys the aar file to maven
63+ mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=ossrh -DpomFile=library/pom.xml -Dfile=library/build/outputs/aar/library-release.aar -Dversion= $VERSION
6664
6765if [[ $? -ne 0 ]]; then
6866 echo " error: Error building and releasing to maven."
8684
8785echo " Manual steps:"
8886echo " 1) release maven repo at http://oss.sonatype.org/"
89- # echo " 2) Deploy new docs: $> firebase deploy"
87+ # echo " 2) Deploy new docs: $> firebase deploy"
9088echo " 3) Update the release notes for FirebaseUI-Android version ${VERSION} on GitHub and add aar for downloading"
9189# echo " 4) Update firebase-versions.json in the firebase-clients repo with the changelog information"
9290# echo " 5) Tweet @FirebaseRelease: 'v${VERSION} of FirebaseUI-Android is available https://github.com/firebase/FirebaseUI-Android"
You can’t perform that action at this time.
0 commit comments