Skip to content

Commit

Permalink
Replace hardcoded branch names with 'main' in all GitHub URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
MalekKamel committed Oct 28, 2024
1 parent 3e78f1f commit 8d7f29a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class BrandRemoteSource {
}

async createNewBrandConfigurations() {
const url = 'https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/configurations.json';
const url = 'https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/configurations.json';

try {
const response = await fetch(url);
Expand Down
22 changes: 11 additions & 11 deletions solara/lib/core/template/configurations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,57 @@
{
"filename": "brand_config.json",
"filePath": "shared/brand_config.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/shared/brand_config.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/shared/brand_config.json"
},
{
"filename": "theme.json",
"filePath": "shared/theme.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/shared/theme.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/shared/theme.json"
},
{
"filename": "android_config.json",
"filePath": "android/android_config.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/android/android_config.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/android/android_config.json"
},
{
"filename": "android_signing.json",
"filePath": "android/android_signing.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/android/android_signing.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/android/android_signing.json"
},
{
"filename": "ios_config.json",
"filePath": "ios/ios_config.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/ios/ios_config.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/ios/ios_config.json"
},
{
"filename": "ios_signing.json",
"filePath": "ios/ios_signing.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/ios/ios_signing.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/ios/ios_signing.json"
},
{
"filename": "InfoPlist.xcstrings",
"filePath": "ios/InfoPlist.xcstrings",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/ios/InfoPlist.xcstrings"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/ios/InfoPlist.xcstrings"
},
{
"filename": "ios_json_manifest.json",
"filePath": "ios/json/ios_json_manifest.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/json/json_manifest.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/json/json_manifest.json"
},
{
"filename": "android_json_manifest.json",
"filePath": "android/json/android_json_manifest.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/json/json_manifest.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/json/json_manifest.json"
},
{
"filename": "flutter_json_manifest.json",
"filePath": "flutter/json/flutter_json_manifest.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/json/json_manifest.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/json/json_manifest.json"
},
{
"filename": "global_json_manifest.json",
"filePath": "../../global/json/global_json_manifest.json",
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/develop/solara/lib/core/template/brands/json/json_manifest.json"
"url": "https://raw.githubusercontent.com/Solara-Kit/Solara/refs/heads/main/solara/lib/core/template/brands/json/json_manifest.json"
}
]
}

0 comments on commit 8d7f29a

Please sign in to comment.