Fix fastlane builds

the file with the version number has been moved to subdirectory and a symlink
to it is created, but after the version number is fetched from it where it used
to be

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
Eric Dvorsak 2018-07-24 09:49:56 +02:00
parent a3c25163be
commit 0530f9c8dd
No known key found for this signature in database
GPG Key ID: 932AC1CE5F05DE0C
4 changed files with 8 additions and 12 deletions

View File

@ -12,7 +12,6 @@ def installJSDeps() {
def installed = false def installed = false
while (!installed && attempt <= maxAttempts) { while (!installed && attempt <= maxAttempts) {
println "#${attempt} attempt to install npm deps" println "#${attempt} attempt to install npm deps"
sh 'scripts/prepare-for-platform.sh mobile'
sh 'npm install' sh 'npm install'
installed = fileExists('node_modules/web3/index.js') installed = fileExists('node_modules/web3/index.js')
attemp = attempt + 1 attemp = attempt + 1
@ -36,12 +35,12 @@ timeout(90) {
checkout scm checkout scm
version = readFile("${env.WORKSPACE}/VERSION").trim()
sh 'git fetch --tags' sh 'git fetch --tags'
sh 'rm -rf node_modules' sh 'rm -rf node_modules'
sh 'cp .env.nightly .env' sh 'cp .env.nightly .env'
sh 'scripts/prepare-for-platform.sh mobile'
version = readFile("${env.WORKSPACE}/VERSION").trim()
installJSDeps() installJSDeps()
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack' sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'

View File

@ -12,7 +12,6 @@ def installJSDeps() {
def installed = false def installed = false
while (!installed && attempt <= maxAttempts) { while (!installed && attempt <= maxAttempts) {
println "#${attempt} attempt to install npm deps" println "#${attempt} attempt to install npm deps"
sh 'scripts/prepare-for-platform.sh mobile'
sh 'npm install' sh 'npm install'
installed = fileExists('node_modules/web3/index.js') installed = fileExists('node_modules/web3/index.js')
attemp = attempt + 1 attemp = attempt + 1
@ -36,13 +35,13 @@ timeout(90) {
checkout scm checkout scm
version = readFile("${env.WORKSPACE}/VERSION").trim()
sh 'git fetch --tags' sh 'git fetch --tags'
sh 'rm -rf node_modules' sh 'rm -rf node_modules'
sh 'cp .env.prod .env' sh 'cp .env.prod .env'
sh 'scripts/prepare-for-platform.sh mobile'
version = readFile("${env.WORKSPACE}/VERSION").trim()
installJSDeps() installJSDeps()
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack' sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'

View File

@ -12,7 +12,6 @@ def installJSDeps() {
def installed = false def installed = false
while (!installed && attempt <= maxAttempts) { while (!installed && attempt <= maxAttempts) {
println "#${attempt} attempt to install npm deps" println "#${attempt} attempt to install npm deps"
sh 'scripts/prepare-for-platform.sh mobile'
sh 'npm install' sh 'npm install'
installed = fileExists('node_modules/web3/index.js') installed = fileExists('node_modules/web3/index.js')
attemp = attempt + 1 attemp = attempt + 1
@ -40,13 +39,13 @@ timeout(90) {
checkout scm checkout scm
version = readFile("${env.WORKSPACE}/VERSION").trim()
sh 'git fetch --tags' sh 'git fetch --tags'
sh 'rm -rf node_modules' sh 'rm -rf node_modules'
sh 'cp .env.prod .env' sh 'cp .env.prod .env'
sh 'scripts/prepare-for-platform.sh mobile'
version = readFile("${env.WORKSPACE}/VERSION").trim()
installJSDeps() installJSDeps()
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack' sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'

View File

@ -12,7 +12,6 @@ def installJSDeps() {
def installed = false def installed = false
while (!installed && attempt <= maxAttempts) { while (!installed && attempt <= maxAttempts) {
println "#${attempt} attempt to install npm deps" println "#${attempt} attempt to install npm deps"
sh 'scripts/prepare-for-platform.sh mobile'
sh 'npm install' sh 'npm install'
installed = fileExists('node_modules/web3/index.js') installed = fileExists('node_modules/web3/index.js')
attemp = attempt + 1 attemp = attempt + 1
@ -39,13 +38,13 @@ timeout(90) {
checkout scm checkout scm
version = readFile("${env.WORKSPACE}/VERSION").trim()
sh 'git fetch --tags' sh 'git fetch --tags'
sh 'rm -rf node_modules' sh 'rm -rf node_modules'
sh 'cp .env.prod .env' sh 'cp .env.prod .env'
sh 'scripts/prepare-for-platform.sh mobile'
version = readFile("${env.WORKSPACE}/VERSION").trim()
installJSDeps() installJSDeps()
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack' sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'