We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 082a18c commit 1048601Copy full SHA for 1048601
.gitignore
@@ -2,5 +2,4 @@
2
*.iml
3
gradle.properties
4
.gradle
5
-build
6
-release
+build
release
@@ -0,0 +1,12 @@
1
+while getopts v: opts; do
+ case ${opts} in
+ v) VERSION=${OPTARG} ;;
+ esac
+done
+
7
+if [ -z "$VERSION" ]; then
8
+ echo "Set release version using -v option"
9
+ exit 1
10
+else
11
+ ./gradlew clean test release -Prelease.forceVersion=$VERSION && ./gradlew uploadArchives -PsignArtifacts
12
+fi
0 commit comments