fossasia / open-event-attendee-android

Open Event Attendee Android General App https://github.com/fossasia/open-event-android/blob/apk/open-event-dev-app-playStore-debug.apk
Apache License 2.0
1.95k stars 553 forks source link

Issue with automatic deployment on Google Play #534

Closed iamareebjamal closed 6 years ago

iamareebjamal commented 6 years ago

Check travis logs of master @nikit19 @dreadpool2 @simarsingh24

simarsingh24 commented 6 years ago
screen shot 2018-08-14 at 3 53 56 pm

seeems to be an issue with environment variable

if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
    echo "Push to master branch detected, signing the app..."
    cp open-event-master-app-playStore-release-unsigned.apk open-event-master-app-playStore-release-unaligned.apk
    jarsigner -verbose -tsa http://timestamp.comodoca.com/rfc3161 -sigalg SHA1withRSA -digestalg SHA1 -keystore ../scripts/key.jks -storepass $STORE_PASS -keypass $KEY_PASS open-event-master-app-playStore-release-unaligned.apk $ALIAS
    ${ANDROID_HOME}/build-tools/27.0.3/zipalign -v -p 4 open-event-master-app-playStore-release-unaligned.apk open-event-master-app-playStore-release.apk
fi

here is the usage for the same in the update apk script

iamareebjamal commented 6 years ago

Now all the variables are missing from settings

iamareebjamal commented 6 years ago

Now they are visible

nikit19 commented 6 years ago

@iamareebjamal how can we test that the script is working now ? Restarting the build or merging the dev with master again with some changes

iamareebjamal commented 6 years ago

Now there's issue with decryption. Let me check