-
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.
Merge pull request #60 from mattrob33/develop
Merge for v8.0.0
- Loading branch information
Showing
344 changed files
with
7,183 additions
and
145,239 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,4 @@ | ||
Gemfile linguist-vendored | ||
Gemfile.lock linguist-vendored | ||
fastlane/Fastfile linguist-vendored | ||
fastlane/Appfile linguist-vendored |
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,45 @@ | ||
name: Deploy Open Beta | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
versionName: | ||
description: "Version Name" | ||
required: true | ||
rollout: | ||
description: "Rollout %" | ||
required: true | ||
|
||
jobs: | ||
release-internal: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Decode our base64-encoded keystore contents from Github Secrets and write it | ||
# to a temp file that we'll use in Fastlane to sign our app bundle. | ||
- name: Create upload keystore | ||
shell: bash | ||
env: | ||
KEYSTORE_CONTENTS: ${{ secrets.UPLOAD_KEY_JKS_BASE_64 }} | ||
run: | | ||
echo "$KEYSTORE_CONTENTS" | base64 --decode > "$RUNNER_TEMP/upload-key.jks" | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
- uses: maierj/[email protected] | ||
with: | ||
lane: 'deployOpenBeta' | ||
env: | ||
VERSION_NAME: ${{ github.event.inputs.versionName }} | ||
ROLLOUT: ${{ github.event.inputs.rollout }} | ||
UPLOAD_KEY_DIR: ${{ runner.temp }} | ||
UPLOAD_KEY_FILENAME: "upload-key.jks" | ||
SIGNING_STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} | ||
SIGNING_KEY_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} | ||
SIGNING_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }} | ||
PLAY_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.PLAY_STORE_API_KEY }} | ||
GITHUB_RELEASES_TOKEN: ${{ secrets.TOKEN_CREATE_GITHUB_RELEASES }} |
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,44 @@ | ||
name: Deploy to Play Store (internal) | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
versionName: | ||
description: "Version Name" | ||
required: true | ||
|
||
jobs: | ||
release-internal: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
# Decode our base64-encoded keystore contents from Github Secrets and write it | ||
# to a temp file that we'll use in Fastlane to sign our app bundle. | ||
- name: Create upload keystore | ||
shell: bash | ||
env: | ||
KEYSTORE_CONTENTS: ${{ secrets.UPLOAD_KEY_JKS_BASE_64 }} | ||
run: | | ||
echo "$KEYSTORE_CONTENTS" | base64 --decode > "$RUNNER_TEMP/upload-key.jks" | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
- name: Fastlane -> deployInternal | ||
uses: maierj/[email protected] | ||
with: | ||
lane: 'deployInternal' | ||
env: | ||
VERSION_NAME: ${{ github.event.inputs.versionName }} | ||
UPLOAD_KEY_DIR: ${{ runner.temp }} | ||
UPLOAD_KEY_FILENAME: "upload-key.jks" | ||
SIGNING_STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} | ||
SIGNING_KEY_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} | ||
SIGNING_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }} | ||
PLAY_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.PLAY_STORE_API_KEY }} | ||
GITHUB_RELEASES_TOKEN: ${{ secrets.TOKEN_CREATE_GITHUB_RELEASES }} |
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,60 @@ | ||
name: Deploy to Production | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
versionName: | ||
description: "Version Name" | ||
required: true | ||
rollout: | ||
description: "Rollout %" | ||
required: true | ||
production: | ||
description: "Please type production to confirm" | ||
required: true | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
if: github.event.inputs.production == 'production' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Decode our base64-encoded keystore contents from Github Secrets and write it | ||
# to a temp file that we'll use in Fastlane to sign our app bundle. | ||
- name: Create upload keystore | ||
shell: bash | ||
env: | ||
KEYSTORE_CONTENTS: ${{ secrets.UPLOAD_KEY_JKS_BASE_64 }} | ||
run: | | ||
echo "$KEYSTORE_CONTENTS" | base64 --decode > "$RUNNER_TEMP/upload-key.jks" | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
- uses: maierj/[email protected] | ||
with: | ||
lane: 'deployProduction' | ||
env: | ||
VERSION_NAME: ${{ github.event.inputs.versionName }} | ||
ROLLOUT: ${{ github.event.inputs.rollout }} | ||
UPLOAD_KEY_DIR: ${{ runner.temp }} | ||
UPLOAD_KEY_FILENAME: "upload-key.jks" | ||
SIGNING_STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} | ||
SIGNING_KEY_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} | ||
SIGNING_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }} | ||
PLAY_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.PLAY_STORE_API_KEY }} | ||
GITHUB_RELEASES_TOKEN: ${{ secrets.TOKEN_CREATE_GITHUB_RELEASES }} | ||
|
||
on-failed-deploy: | ||
runs-on: ubuntu-latest | ||
if: github.event.inputs.production != 'production' | ||
steps: | ||
- name: Failed to confirm deployment | ||
shell: bash | ||
run: | | ||
echo "Failed to confirm. You must type 'production' to run this workflow." |
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,49 @@ | ||
name: Deploy to Firebase App Distribution | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
versionName: | ||
description: "Version Name" | ||
required: true | ||
releaseNotes: | ||
description: "Release Notes" | ||
required: false | ||
|
||
jobs: | ||
firebase-app-distribution: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Decode our base64-encoded keystore contents from Github Secrets and write it | ||
# to a temp file that we'll use in Fastlane to sign our app bundle. | ||
- name: Create upload keystore | ||
shell: bash | ||
env: | ||
KEYSTORE_CONTENTS: ${{ secrets.UPLOAD_KEY_JKS_BASE_64 }} | ||
run: | | ||
echo "$KEYSTORE_CONTENTS" | base64 --decode > "$RUNNER_TEMP/upload-key.jks" | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
- name: Upload to Firebase App Distribution | ||
uses: maierj/[email protected] | ||
with: | ||
lane: 'firebaseAppDistribution' | ||
env: | ||
VERSION_NAME: ${{ github.event.inputs.versionName }} | ||
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }} | ||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_REFRESH_TOKEN }} | ||
UPLOAD_KEY_DIR: ${{ runner.temp }} | ||
UPLOAD_KEY_FILENAME: "upload-key.jks" | ||
SIGNING_STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} | ||
SIGNING_KEY_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} | ||
SIGNING_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }} | ||
PLAY_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.PLAY_STORE_API_KEY }} | ||
RELEASE_NOTES: ${{ github.event.inputs.releaseNotes }} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Query version codes | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
query-version-codes: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
- uses: maierj/[email protected] | ||
with: | ||
lane: 'getNextVersionCode' | ||
env: | ||
PLAY_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.PLAY_STORE_API_KEY }} |
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,23 @@ | ||
name: Send Slack Message | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
message: | ||
description: "Message" | ||
required: true | ||
|
||
jobs: | ||
slack-test: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Send Slack message | ||
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: 'C02HPF9D10A' | ||
slack-message: ${{ github.event.inputs.message }} | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
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,3 +1,12 @@ | ||
/build | ||
/local.properties | ||
/sblgnt.keystore | ||
/app/build/ | ||
/app/release/ | ||
/sblgnt-upload.keystore | ||
/upload_certificate.pem | ||
/.gradle/ | ||
/.idea/ | ||
/buildSrc/.gradle/ | ||
/buildSrc/build/ | ||
/play-store-api-key.json |
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,6 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "fastlane" | ||
|
||
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') | ||
eval_gemfile(plugins_path) if File.exist?(plugins_path) |
Oops, something went wrong.