Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Show git commit hash with version

  • Loading branch information
joseph-cliqz authored and pavel-cliqz committed Jun 5, 2019
1 parent 4f6c9f2 commit 2c2032c741fe0b523710fcac436f19093033afb5
Showing with 9 additions and 1 deletion.
  1. +1 −0 Jenkinsfile.nightly
  2. +1 −0 Jenkinsfile.publish
  3. +1 −0 LumenJenkinsfile.nightly
  4. +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")

0 comments on commit 2c2032c

Please sign in to comment.