Skip to content

Commit 14a233b

Browse files
committed
Further updates to release script
1 parent 195f7fb commit 14a233b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

release.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@ if [[ $VERSION == $LAST_GIT_TAG ]]; then
3939
exit 1
4040
fi
4141

42-
# Create docs
43-
#./create-docs.sh
44-
#if [[ $? -ne 0 ]]; then
45-
# echo "error: There was an error creating the docs."
46-
# exit 1
47-
#fi
42+
# Tag the release in git
43+
# XXX this is wrong; needs to be semver sorted as my other scripts are
44+
git tag -a v$VERSION
4845

4946
##########################
5047
# GENERATE RELEASE BUILD #
@@ -60,7 +57,7 @@ read -p "Next, make sure this repo is clean and up to date. We will be kicking o
6057
#the next line installs the output of build.gradle into (local) maven, but does not tag it in git
6158
#mvn install:install-file -Dfile=library/build/outputs/aar/library-release.aar -DgroupId=com.firebase -DartifactId=firebase-ui -Dversion=$VERSION -Dpackaging=aar
6259
#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
60+
#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-debug.aar -Dversion=$VERSION
6461

6562
if [[ $? -ne 0 ]]; then
6663
echo "error: Error building and releasing to maven."

0 commit comments

Comments
 (0)