mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-21 11:40:01 +00:00
fixed proxy option (now -x) in releaseAndroid script
Change-Id: I0480b27338d0f3fd2b5ee8b60cc22f1959af9f78
This commit is contained in:
1 parent
577035e8f9
commit
15579bcf6f
1 file changed
+3
-3
@@ -3,7 +3,7 @@ ANDROID_RELEASE_BRANCH=android-xmake-release
|
||||
RELEASE_BRANCH=rel-1.4
|
||||
APP_MANIFESTS="mobile/com.sap.sailing.android.tracking.app/AndroidManifest.xml mobile/com.sap.sailing.buoy.positioning/AndroidManifest.xml mobile/com.sap.sailing.racecommittee.app/AndroidManifest.xml"
|
||||
GIT_REMOTE=origin
|
||||
# proxy can be requested with -p
|
||||
# proxy can be requested with -x
|
||||
PROXY_SETTINGS=
|
||||
UPDATE_ANDROID_MANIFEST_VERSIONS=1
|
||||
UPDATE_POM_VERSIONS=1
|
||||
@@ -58,7 +58,7 @@ if [ $# -eq 0 ]; then
|
||||
exit 2
|
||||
fi
|
||||
|
||||
options='mpgr:'
|
||||
options='mpgrx:'
|
||||
while getopts $options option
|
||||
do
|
||||
case $option in
|
||||
@@ -66,7 +66,7 @@ do
|
||||
p) UPDATE_POM_VERSIONS=0;;
|
||||
g) PERFORM_GIT_OPERATIONS=0;;
|
||||
r) GIT_REMOTE=$OPTARG;;
|
||||
p) PROXY_SETTINGS="-Dhttp.proxyHost=proxy.wdf.sap.corp -Dhttp.proxyPort=8080";;
|
||||
x) PROXY_SETTINGS="-Dhttp.proxyHost=proxy.wdf.sap.corp -Dhttp.proxyPort=8080";;
|
||||
\?) echo "Invalid option"
|
||||
exit 4;;
|
||||
esac
|
||||
|
||||
Reference in new issue
Block a user