1 Star 0 Fork 0

king/lottie-android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sign.sh 907 Bytes
一键复制 编辑 原始数据 按行查看 历史
Gabriel Peal 提交于 2018-08-12 19:56 . Fix signed apk path
#! /bin/bash
if [ -z "$TRAVIS_TAG" ]; then
# Only sign and deploy tags
echo "Not signing build. There is no git tag."
exit 0
fi
./gradlew :LottieSample:assembleRelease
./gradlew -PNEXUS_USERNAME=$NEXUS_USERNAME -PNEXUS_PASSWORD=$NEXUS_PASSWORD :lottie:uploadArchives
echo "----------Signing APK"
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore lottie-upload-key.jks -storepass $LOTTIE_UPLOAD_CERT_KEY_STORE_PASSWORD LottieSample/build/outputs/apk/release/LottieSample-release-unsigned.apk upload -keypass $LOTTIE_UPLOAD_CERT_KEY_PASSWORD -signedjar LottieSample/build/outputs/apk/release/LottieSample-release-signed.apk
if [ $? -ne 0 ]; then
exit $?
fi
echo "----------Zipaligning APK"
${ANDROID_HOME}/build-tools/27.0.3/zipalign 4 LottieSample/build/outputs/apk/release/LottieSample-release-signed.apk LottieSample/build/outputs/apk/release/LottieSample-release-aligned.apk
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wjx1018960145/lottie-android.git
git@gitee.com:wjx1018960145/lottie-android.git
wjx1018960145
lottie-android
lottie-android
master

搜索帮助