Skip to content

Commit

Permalink
Fix bundle identifier logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kobaltcore committed Jan 6, 2024
1 parent 2593cdc commit a9c070f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/renotize.nim
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,11 @@ proc fullRunCli*(inputFile: string, bundleIdentifier = "", keyFile = "", certFil
appStoreKeyFileInt = getEnv("RN_APP_STORE_KEY_FILE")
else:
appStoreKeyFileInt = appStoreKeyFile
if bundleIdentifier == "":
bundleIdentifierInt = getEnv("RN_BUNDLE_IDENTIFIER")
else:
bundleIdentifierInt = bundleIdentifier

if bundleIdentifier == "":
bundleIdentifierInt = getEnv("RN_BUNDLE_IDENTIFIER")
else:
bundleIdentifierInt = bundleIdentifier

if keyFileInt == "" or certFileInt == "" or appStoreKeyFileInt == "" or bundleIdentifierInt == "":
echo "No configuration data was found via command line arguments or environment."
Expand Down

0 comments on commit a9c070f

Please sign in to comment.