Skip to content

Commit

Permalink
"
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed May 28, 2024
1 parent 8f74b70 commit e31f481
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Some of these values aren't actually secret and can be shared. Specifically the
| APPLE | {"key_id": "D383SF739", "issuer_id": "6053b7fe-68a8-4acb-89be-165aa6465141", "key": "-----BEGIN PRIVATE KEY-----MIGTAgEAMB----END PRIVATE KEY-----", "in_house": false } | Json file of apple credentials https://docs.fastlane.tools/app-store-connect-api/ | Authenticate with Apple to upload to TestFlight |
| FASTLANE_PATCH_PASSWORD | hunter2 | Make a password | Encrypt match certificates |
| ANDROID_KEY_PROPERTIES | storePassword=hunter2 <br> keyPassword=hunter2 <br> keyAlias=upload <br> storeFile=key.jks | generate an android signing certificate and fill out [key.example.properties](android/key.example.properties) | sign apks |
| ANDROID_KEY_JKS | sdfsfasdFSDgjklsgklsjdfASGHSDLGHJFSD= | cat AndroidKeystoreCodel1417.jks \| base64 | base64 form of the jks file |
| ANDROID_KEY_JKS | sdfsfasdFSDgjklsgklsjdfASGHSDLGHJFSD= | cat AndroidKeystoreCodel1417.jks \| base64 -w 0 | base64 form of the jks file |
### Repository Integrations
Expand Down
4 changes: 2 additions & 2 deletions Scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ if [[ ! -v SKIP_BUILD ]]; then # This is re-used for the linting job, which does
#flutter build ipa $DEBUG --no-codesign --build-number="$BUILD_NUMBER" --build-name="$VERSION"
else
if [[ $GITHUB_EVENT_NAME == 'push' ]]; then
echo $ANDROID_KEY_PROPERTIES > ./android/key.properties
echo -n $ANDROID_KEY_JKS | base64 -d > ./android/AndroidKeystoreCodel1417.jks
echo "$ANDROID_KEY_PROPERTIES" > ./android/key.properties
echo -n "$ANDROID_KEY_JKS" | base64 -d > ./android/AndroidKeystoreCodel1417.jks
fi
echo "::group::Build APK"
flutter build apk --split-debug-info=./symbols $DEBUG --build-number="$BUILD_NUMBER" --build-name="$VERSION" --color #--dart-define=cronetHttpNoPlay=true
Expand Down

0 comments on commit e31f481

Please sign in to comment.