Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Android-AutoPackage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
app
Android-AutoPackage
Commits
82305beb
Commit
82305beb
authored
Jan 24, 2019
by
app.developer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改和优化
parent
a63cc664
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
apk_script/auto_package_apk.sh
+2
-0
apk_script/auto_upload_pgy.sh
+2
-0
No files found.
apk_script/auto_package_apk.sh
View file @
82305beb
...
...
@@ -37,6 +37,8 @@ gradle assemble${BUILD_TYPE}
APK_PATH
=(
$(
find
${
PROJECT_DIR
}
/app/build
-name
*
.apk
)
)
cd
${
ANDROID_HOME
}
/build-tools/28.0.3
APK_INFO
=
$(
aapt d badging
$APK_PATH
|
grep
package
)
APK_INFO
=(
${
APK_INFO
/ /
}
)
VERSION
=(
${
APK_INFO
[2]/=/
}
)
...
...
apk_script/auto_upload_pgy.sh
View file @
82305beb
...
...
@@ -60,6 +60,8 @@ if [ "$?" -ne "0" ]; then
exit
1
fi
cd
${
ANDROID_HOME
}
/build-tools/28.0.3
# 推送到钉钉机器人时显示打包的版本号
APK_INFO
=
$(
aapt d badging
$EBIZ_APK_PATH
|
grep
package
)
APK_INFO
=(
${
APK_INFO
/ /
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment