Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Show git commit hash with version
- Loading branch information
Showing
with
9 additions
and
1 deletion.
-
+1
−0
Jenkinsfile.nightly
-
+1
−0
Jenkinsfile.publish
-
+1
−0
LumenJenkinsfile.nightly
-
+6
−1
fastlane/Fastfile
|
|
@@ -90,6 +90,7 @@ node('gideon') { |
|
|
rm -rf ../build-tools |
|
|
export MATCH_KEYCHAIN_NAME=ios-build.keychain |
|
|
export app_name=Lumen |
|
|
export CommitHash=`git rev-parse --short HEAD` |
|
|
export PATH="$PATH:/Users/vagrant/Library/Python/2.7/bin" |
|
|
echo de > shipping_locales.txt && echo en-US >> shipping_locales.txt |
|
|
fastlane importLocalizations |
|
|
|
|
|
@@ -134,6 +134,7 @@ node('gideon') { |
|
|
rm -rf /Users/vagrant/Library/Keychains/ios-build.keychain* |
|
|
rm -rf ../build-tools |
|
|
export app_name=Lumen |
|
|
export CommitHash=`git rev-parse --short HEAD` |
|
|
export PATH="$PATH:/Users/vagrant/Library/Python/2.7/bin" |
|
|
echo de > shipping_locales.txt && echo en-US >> shipping_locales.txt |
|
|
fastlane importLocalizations |
|
|
|
|
|
@@ -91,6 +91,7 @@ node('gideon') { |
|
|
export MATCH_KEYCHAIN_NAME=ios-build.keychain |
|
|
rm -rf ../build-tools |
|
|
export app_name=Lumen |
|
|
export CommitHash=`git rev-parse --short HEAD` |
|
|
echo de > shipping_locales.txt && echo en-US >> shipping_locales.txt |
|
|
fastlane importLocalizations |
|
|
fastlane lumenBeta |
|
|
|
|
|
@@ -250,7 +250,9 @@ platform :ios do |
|
|
|
|
|
# Configuring Lumen APIs |
|
|
sh("sed -i '' 's|lumenAPI:\ String?\ =\ nil|lumenAPI:\ String?\ =\ \"'$LumenAPIKey'\"|' ../Cliqz/Resources/APIKeys.swift") |
|
|
|
|
|
|
|
|
# Configure CommitHash |
|
|
sh("cd .. && plutil -replace CommitHash -string $CommitHash Client/Info.plist") |
|
|
|
|
|
# Building ReactNative Entension |
|
|
sh("cd .. && npm run bundle-lumen") |
|
|
@@ -324,6 +326,9 @@ platform :ios do |
|
|
# Configuring Lumen APIs |
|
|
sh("sed -i '' 's|lumenAPI:\ String?\ =\ nil|lumenAPI:\ String?\ =\ \"'$LumenAPIKey'\"|' ../Cliqz/Resources/APIKeys.swift") |
|
|
|
|
|
# Configure CommitHash |
|
|
sh("cd .. && plutil -replace CommitHash -string $CommitHash Client/Info.plist") |
|
|
|
|
|
# Building ReactNative Entension |
|
|
sh("cd .. && npm run bundle-lumen") |
|
|
|
|
|
|