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
57
57
# DEPLOY TO MAVEN #
58
58
# ##################
59
59
read -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
62
60
# the next line installs the output of build.gradle into (local) maven, but does not tag it in git
63
61
# 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
66
64
67
65
if [[ $? -ne 0 ]]; then
68
66
echo " error: Error building and releasing to maven."
86
84
87
85
echo " Manual steps:"
88
86
echo " 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"
90
88
echo " 3) Update the release notes for FirebaseUI-Android version ${VERSION} on GitHub and add aar for downloading"
91
89
# echo " 4) Update firebase-versions.json in the firebase-clients repo with the changelog information"
92
90
# 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