-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(version): increment version to v1.4.0 (#57)
Update app on production line to v1.4.0
- Loading branch information
Showing
114 changed files
with
3,375 additions
and
2,142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#Set-Item -Path Env:PASSPHRASE -Value "MY_SECRET" | ||
# Decrypt keystore.jks.gpg | ||
& gpg --batch --yes --decrypt --pinentry-mode loopback --passphrase="$env:PASSPHRASE" --output "android/app/keystore.jks" "encrypted_config/keystore.jks.gpg" | ||
# Decrypt fastlane-key.json.gpg | ||
& gpg --batch --yes --decrypt --pinentry-mode loopback --passphrase="$env:PASSPHRASE" --output "android/fastlane/fastlane-key.json" "encrypted_config/fastlane-key.json.gpg" | ||
# Decrypt key_password.txt.gpg | ||
$tmp_key_password = (& gpg --quiet --batch --yes --decrypt --passphrase="$env:PASSPHRASE" "encrypted_config/key_password.txt.gpg") -join "`n" | ||
|
||
# Inject | ||
"storePassword=$tmp_key_password" > "android/key.properties" | ||
"keyPassword=$tmp_key_password" >> "android/key.properties" | ||
"keyAlias=upload" >> "android/key.properties" | ||
"storeFile=./keystore.jks" >> "android/key.properties" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
name: Flutter - Analyze & Test | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
flutter_version: | ||
description: 'The Flutter used (ex: 2.5.1)' | ||
required: true | ||
type: string | ||
secrets: | ||
passphrase: | ||
description: 'The passphrase to decrypt the configuration' | ||
required: true | ||
|
||
|
||
jobs: | ||
analyze: | ||
name: 'Analyze' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout source code' | ||
uses: actions/checkout@v3 | ||
- name: 'Setup flutter action' | ||
uses: subosito/flutter-action@v2.8.0 | ||
with: | ||
flutter-version: ${{ inputs.flutter_version }} | ||
- name: 'Flutter analyze' | ||
run: flutter analyze | ||
format: | ||
name: 'Format' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout source code' | ||
uses: actions/checkout@v3 | ||
- name: 'Setup flutter action' | ||
uses: subosito/flutter-action@v2.8.0 | ||
with: | ||
flutter-version: ${{ inputs.flutter_version }} | ||
- name: 'Flutter format' | ||
run: flutter format lib --set-exit-if-changed | ||
test: | ||
name: 'Test' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout source code' | ||
uses: actions/checkout@v3 | ||
- name: 'Decrypt secret configuration' | ||
run: ./.github/scripts/decrypt_secret.sh | ||
env: | ||
PASSPHRASE: ${{ secrets.passphrase }} | ||
- name: 'Check secret configuration' | ||
run: ./.github/scripts/check_secrets_decryption.sh | ||
- name: 'Setup flutter action' | ||
uses: subosito/flutter-action@v2.8.0 | ||
with: | ||
flutter-version: ${{ inputs.flutter_version }} | ||
- name: 'Flutter test (with coverage)' | ||
run: flutter test --coverage --test-randomize-ordering-seed random | ||
- name: 'Upload coverage report' | ||
uses: codecov/[email protected].1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
name: Flutter - Analyze & Test | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
flutter_version: | ||
description: 'The Flutter used (ex: 2.5.1)' | ||
required: true | ||
type: string | ||
secrets: | ||
passphrase: | ||
description: 'The passphrase to decrypt the configuration' | ||
required: true | ||
|
||
|
||
jobs: | ||
analyze: | ||
name: 'Analyze' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout source code' | ||
uses: actions/checkout@v3 | ||
- name: 'Setup flutter action' | ||
uses: subosito/flutter-action@v2.10.0 | ||
with: | ||
flutter-version: ${{ inputs.flutter_version }} | ||
- name: 'Flutter analyze' | ||
run: flutter analyze | ||
format: | ||
name: 'Format' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout source code' | ||
uses: actions/checkout@v3 | ||
- name: 'Setup flutter action' | ||
uses: subosito/flutter-action@v2.10.0 | ||
with: | ||
flutter-version: ${{ inputs.flutter_version }} | ||
- name: 'Flutter format' | ||
run: dart format lib --set-exit-if-changed | ||
test: | ||
name: 'Test' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout source code' | ||
uses: actions/checkout@v3 | ||
- name: 'Decrypt secret configuration' | ||
run: ./.github/scripts/decrypt_secret.sh | ||
env: | ||
PASSPHRASE: ${{ secrets.passphrase }} | ||
- name: 'Check secret configuration' | ||
run: ./.github/scripts/check_secrets_decryption.sh | ||
- name: 'Setup flutter action' | ||
uses: subosito/flutter-action@v2.10.0 | ||
with: | ||
flutter-version: ${{ inputs.flutter_version }} | ||
- name: 'Flutter test (with coverage)' | ||
run: flutter test --coverage --test-randomize-ordering-seed random | ||
- name: 'Upload coverage report' | ||
uses: codecov/[email protected].3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
directory: ./coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.