Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Cesium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bpresles
Cesium
Commits
b0b9ba41
Commit
b0b9ba41
authored
4 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes
parent
327f3bb2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/release-android-sign.sh
+4
-6
4 additions, 6 deletions
scripts/release-android-sign.sh
scripts/release.sh
+9
-3
9 additions, 3 deletions
scripts/release.sh
with
13 additions
and
9 deletions
scripts/
signing-
release-android.sh
→
scripts/release-android
-sign
.sh
+
4
−
6
View file @
b0b9ba41
...
@@ -11,16 +11,14 @@ fi;
...
@@ -11,16 +11,14 @@ fi;
KEYSTORE_FILE
=
${
PROJECT_DIR
}
/.local/android/Cesium.keystore
KEYSTORE_FILE
=
${
PROJECT_DIR
}
/.local/android/Cesium.keystore
KEY_ALIAS
=
Cesium
KEY_ALIAS
=
Cesium
KEYSTORE_PWD
=
KEYSTORE_PWD
=
APK_RELEASE_DIR
=
${
PROJECT_DIR
}
/platforms/android/build/outputs/apk/release
APK_RELEASE_DIR
=
${
PROJECT_DIR
}
/platforms/android/
app/
build/outputs/apk/release
APK_UNSIGNED_FILE
=
${
APK_RELEASE_DIR
}
/a
ndroid
-release-unsigned.apk
APK_UNSIGNED_FILE
=
${
APK_RELEASE_DIR
}
/a
pp
-release-unsigned.apk
APK_SIGNED_FILE
=
${
APK_RELEASE_DIR
}
/a
ndroid
-release
-signed
.apk
APK_SIGNED_FILE
=
${
APK_RELEASE_DIR
}
/a
pp
-release.apk
# Preparing Android environment
# Preparing Android environment
.
${
PROJECT_DIR
}
/scripts/env-android.sh
.
${
PROJECT_DIR
}
/scripts/env-android.sh
if
[[
$?
-ne
0
]]
;
then
[[
$?
-ne
0
]]
&&
exit
1
exit
1
fi
cd
${
PROJECT_DIR
}
cd
${
PROJECT_DIR
}
...
...
This diff is collapsed.
Click to expand it.
scripts/release.sh
+
9
−
3
View file @
b0b9ba41
...
@@ -100,10 +100,16 @@ rm -rf ${ANDROID_OUTPUT_APK_RELEASE}/*.apk || exit 1
...
@@ -100,10 +100,16 @@ rm -rf ${ANDROID_OUTPUT_APK_RELEASE}/*.apk || exit 1
.
scripts/build-android.sh
--release
.
scripts/build-android.sh
--release
[[
$?
-ne
0
]]
&&
exit
1
[[
$?
-ne
0
]]
&&
exit
1
APK_RELEASE_FILE
=
"
${
ANDROID_OUTPUT_APK_RELEASE
}
/android-release.apk"
APK_RELEASE_FILE
=
"
${
ANDROID_OUTPUT_APK_RELEASE
}
/app-release.apk"
APK_RELEASE_UNSIGNED_FILE
=
"
${
ANDROID_OUTPUT_APK_RELEASE
}
/app-release-unsigned.apk"
if
[[
!
-f
"
${
APK_RELEASE_FILE
}
"
]]
;
then
if
[[
!
-f
"
${
APK_RELEASE_FILE
}
"
]]
;
then
echo
"ERROR: Missing android artifact at
${
APK_RELEASE_FILE
}
"
if
[[
!
-f
"
${
APK_RELEASE_UNSIGNED_FILE
}
"
]]
;
then
exit
1
echo
"ERROR: Missing android artifact at
${
APK_RELEASE_FILE
}
"
exit
1
else
.
scripts/release-android-sign.sh
[[
$?
-ne
0
]]
&&
exit
1
fi
fi
fi
mkdir
-p
${
DIST_ANDROID
}
||
exit
1
mkdir
-p
${
DIST_ANDROID
}
||
exit
1
cp
${
APK_RELEASE_FILE
}
"
${
DIST_ANDROID
}
/
${
PROJECT_NAME
}
-v
$2
-android.apk"
||
exit
1
cp
${
APK_RELEASE_FILE
}
"
${
DIST_ANDROID
}
/
${
PROJECT_NAME
}
-v
$2
-android.apk"
||
exit
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment