mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-17 21:48:19 +00:00
Remove unused _RELEASE_TYPE_APK_NAME
variable
This variable is always empty.
This commit is contained in:
parent
69102880c9
commit
6a453d10b4
|
@ -55,14 +55,12 @@ if [[ "${_APK_BUILD_TYPE}" == "Debug" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_RELEASE_TYPE_NAME=debug
|
_RELEASE_TYPE_NAME=debug
|
||||||
_RELEASE_TYPE_APK_NAME=
|
|
||||||
if [[ "${_APK_BUILD_TYPE}" == "Debug" ]]; then
|
if [[ "${_APK_BUILD_TYPE}" == "Debug" ]]; then
|
||||||
_RELEASE_TYPE_NAME=debug
|
_RELEASE_TYPE_NAME=debug
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${_APK_BUILD_TYPE}" == "Release" ]]; then
|
if [[ "${_APK_BUILD_TYPE}" == "Release" ]]; then
|
||||||
_RELEASE_TYPE_NAME=release
|
_RELEASE_TYPE_NAME=release
|
||||||
_RELEASE_TYPE_APK_NAME=
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
APP_BASE_NAME=Gradle
|
APP_BASE_NAME=Gradle
|
||||||
|
@ -75,9 +73,9 @@ else
|
||||||
java "-Dorg.gradle.appname=${APP_BASE_NAME}" -classpath "${CLASSPATH}" org.gradle.wrapper.GradleWrapperMain --warning-mode all buildrelease
|
java "-Dorg.gradle.appname=${APP_BASE_NAME}" -classpath "${CLASSPATH}" org.gradle.wrapper.GradleWrapperMain --warning-mode all buildrelease
|
||||||
java "-Dorg.gradle.appname=${APP_BASE_NAME}" -classpath "${CLASSPATH}" org.gradle.wrapper.GradleWrapperMain --warning-mode all assembleRelease
|
java "-Dorg.gradle.appname=${APP_BASE_NAME}" -classpath "${CLASSPATH}" org.gradle.wrapper.GradleWrapperMain --warning-mode all assembleRelease
|
||||||
fi
|
fi
|
||||||
cp build/outputs/apk/"$_RELEASE_TYPE_NAME"/"$_APK_BASENAME"-"$_RELEASE_TYPE_NAME""$_RELEASE_TYPE_APK_NAME".apk "$_APK_BASENAME".apk
|
cp build/outputs/apk/"$_RELEASE_TYPE_NAME"/"$_APK_BASENAME"-"$_RELEASE_TYPE_NAME".apk "$_APK_BASENAME".apk
|
||||||
|
|
||||||
if [[ "${_APK_BUILD_TYPE}" == "Release" ]]; then
|
if [[ "${_APK_BUILD_TYPE}" == "Release" ]]; then
|
||||||
java "-Dorg.gradle.appname=${APP_BASE_NAME}" -classpath "${CLASSPATH}" org.gradle.wrapper.GradleWrapperMain --warning-mode all bundleRelease
|
java "-Dorg.gradle.appname=${APP_BASE_NAME}" -classpath "${CLASSPATH}" org.gradle.wrapper.GradleWrapperMain --warning-mode all bundleRelease
|
||||||
cp build/outputs/bundle/"$_RELEASE_TYPE_NAME"/"$_APK_BASENAME"-"$_RELEASE_TYPE_NAME""$_RELEASE_TYPE_APK_NAME".aab "$_APK_BASENAME".aab
|
cp build/outputs/bundle/"$_RELEASE_TYPE_NAME"/"$_APK_BASENAME"-"$_RELEASE_TYPE_NAME".aab "$_APK_BASENAME".aab
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue