-
Notifications
You must be signed in to change notification settings - Fork 13
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 #331 from nimblehq/release/3.9.0
Release - 3.9.0
- Loading branch information
Showing
20 changed files
with
213 additions
and
96 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# @suho is the Team Lead and the others are team member | ||
* @suho @blyscuit @edgarss @markgravity @minhnimble @nmint8m @phongvhd93 @vnntsu @ducbm051291 @Shayokh144 | ||
# @markgravity is the Team Lead and the others are team member | ||
* @suho @blyscuit @edgarss @markgravity @minhnimble @nmint8m @phongvhd93 @vnntsu @ducbm051291 @Shayokh144 @Thieurom @nkhanh44 | ||
|
||
# Engineering Leads | ||
CODEOWNERS @nimblehq/engineering-leads |
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,16 @@ | ||
## Deliverable Configurations | ||
|
||
The file [DeliverableConstants.rb](https://github.com/nimblehq/ios-templates/blob/develop/fastlane/Constants/DeliverableConstants.rb) contains the settings for build delivery, including: | ||
- Firebase | ||
- App Store | ||
|
||
## Use the template | ||
|
||
1. Running the `make.sh` script will ask if the developer wants to configure the `DeliverableConstants` file. | ||
2. When confirming with the prompt, the template will launch Xcode to modify the `DeliverableConstants` file. | ||
|
||
## Configure later | ||
|
||
- Developer can modify the `DeliverableConstants` at any time. | ||
- Use the command `sh deliverable_setup.sh` to open `DeliverableConstants` with Xcode. | ||
- Open the file manually at `fastlane/Constants/DeliverableConstants.rb` with any IDE. |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
- [[Home]] | ||
- [[Getting Started]] | ||
- [[Deliverable Configurations]] | ||
|
||
## Architecture | ||
|
||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ name: Deploy Build To App Store | |
on: | ||
push: | ||
branches: [ master, main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ name: Deploy Build To Firebase | |
on: | ||
push: | ||
branches: [ develop ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
read -p "Which CI/CD service do you use (Can be edited later) [(g)ithub/(b)itrise/(l)ater]: " ciService | ||
|
||
if [ "$ciService" = "g" -o "$ciService" = "github" ]; then | ||
echo "Setting template for Github Actions" | ||
rm bitrise.yml | ||
elif [ "$ciService" = "b" -o "$ciService" = "bitrise" ]; then | ||
echo "Setting template for Bitrise" | ||
rm -rf .github/workflows | ||
else | ||
echo "You can manually setup the template later." | ||
fi | ||
echo "✅ Completed" | ||
|
||
read -n1 -p "Do you want to set up Deliverable Constants values? (Can be edited later) [Y/n]:" confirm | ||
if ! echo $confirm | grep '^[Yy]\?$'; then | ||
echo "✅ Completed" | ||
else | ||
open -a Xcode fastlane/Constants/DeliverableConstants.rb | ||
fi |
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 |
---|---|---|
|
@@ -73,45 +73,6 @@ def self.TEST_OUTPUT_DIRECTORY_PATH | |
'./fastlane/test_output' | ||
end | ||
|
||
################## | ||
#### FIREBASE #### | ||
################## | ||
|
||
# a gsp files directory | ||
def self.GSP_DIRECTORY | ||
'./' | ||
end | ||
|
||
# a gsp file name for staging | ||
def self.GSP_STAGING | ||
'./{PROJECT_NAME}/Configurations/Plists/GoogleService/Staging/GoogleService-Info.plist' | ||
end | ||
|
||
# a gsp file name for production | ||
def self.GSP_PRODUCTION | ||
'./{PROJECT_NAME}/Configurations/Plists/GoogleService/Production/GoogleService-Info.plist' | ||
end | ||
|
||
# The path to the upload-symbols file of the Fabric app | ||
def self.BINARY_PATH | ||
'./Pods/FirebaseCrashlytics/upload-symbols' | ||
end | ||
|
||
# a firebase app ID for Staging | ||
def self.FIREBASE_APP_ID_STAGING | ||
'{PROJECT_FIREBASE_APP_ID}' | ||
end | ||
|
||
# a firebase app ID for Production | ||
def self.FIREBASE_APP_ID_PRODUCTION | ||
'{PROJECT_FIREBASE_APP_ID}' | ||
end | ||
|
||
# Firebase Tester group name, seperate by comma(,) string | ||
def self.FIREBASE_TESTER_GROUPS | ||
"nimble-dev" | ||
end | ||
|
||
################# | ||
#### KEYCHAIN #### | ||
################# | ||
|
@@ -165,27 +126,4 @@ def self.MAIN_TARGET_NAME | |
'{PROJECT_NAME}' | ||
end | ||
|
||
################## | ||
### DEV PORTAL ### | ||
################## | ||
|
||
# Apple ID for Apple Developer Portal | ||
def self.DEV_PORTAL_APPLE_ID | ||
'{[email protected]}' | ||
end | ||
|
||
##################### | ||
### App Store API ### | ||
##################### | ||
|
||
# App Store Connect API Key ID | ||
def self.APP_STORE_KEY_ID | ||
'{API_KEY_ID}' | ||
end | ||
|
||
# App Store Connect API Issuer ID | ||
def self.APP_STORE_ISSUER_ID | ||
'{ISSUER_ID}' | ||
end | ||
|
||
end |
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,67 @@ | ||
# frozen_string_literal: true | ||
|
||
class DeliverableConstants | ||
|
||
################## | ||
#### FIREBASE #### | ||
################## | ||
|
||
# a gsp files directory | ||
def self.GSP_DIRECTORY | ||
'./' | ||
end | ||
|
||
# a gsp file name for staging | ||
def self.GSP_STAGING | ||
'./{PROJECT_NAME}/Configurations/Plists/GoogleService/Staging/GoogleService-Info.plist' | ||
end | ||
|
||
# a gsp file name for production | ||
def self.GSP_PRODUCTION | ||
'./{PROJECT_NAME}/Configurations/Plists/GoogleService/Production/GoogleService-Info.plist' | ||
end | ||
|
||
# The path to the upload-symbols file of the Fabric app | ||
def self.BINARY_PATH | ||
'./Pods/FirebaseCrashlytics/upload-symbols' | ||
end | ||
|
||
# a firebase app ID for Staging | ||
def self.FIREBASE_APP_ID_STAGING | ||
'<#PROJECT_FIREBASE_APP_ID#>' | ||
end | ||
|
||
# a firebase app ID for Production | ||
def self.FIREBASE_APP_ID_PRODUCTION | ||
'<#PROJECT_FIREBASE_APP_ID#>' | ||
end | ||
|
||
# Firebase Tester group name, seperate by comma(,) string | ||
def self.FIREBASE_TESTER_GROUPS | ||
"nimble-dev" | ||
end | ||
|
||
################## | ||
### DEV PORTAL ### | ||
################## | ||
|
||
# Apple ID for Apple Developer Portal | ||
def self.DEV_PORTAL_APPLE_ID | ||
'<#[email protected]#>' | ||
end | ||
|
||
##################### | ||
### App Store API ### | ||
##################### | ||
|
||
# App Store Connect API Key ID | ||
def self.APP_STORE_KEY_ID | ||
'<#API_KEY_ID#>' | ||
end | ||
|
||
# App Store Connect API Issuer ID | ||
def self.APP_STORE_ISSUER_ID | ||
'<#ISSUER_ID#>' | ||
end | ||
|
||
end |
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.