mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 19:16:59 +00:00
fix fatal: ambiguous argument 'develop..':...
This commit is contained in:
parent
518f68f08f
commit
19e180179c
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -17,6 +17,8 @@ node ('macos1') {
|
||||
|
||||
git([url: 'https://github.com/status-im/status-react.git', branch: BRANCH_NAME])
|
||||
|
||||
sh 'git checkout -- .'
|
||||
sh 'git checkout develop'
|
||||
sh 'git checkout ' + BRANCH_NAME
|
||||
sh 'rm -rf node_modules'
|
||||
sh 'cp .env.jenkins .env'
|
||||
|
@ -19,7 +19,8 @@ node ('macos1'){
|
||||
git([url: 'https://github.com/status-im/status-react.git', branch: 'develop'])
|
||||
// Checkout master because used for iOS Plist version information
|
||||
sh 'git fetch --tags'
|
||||
sh 'git checkout ' + 'develop'
|
||||
sh 'git checkout -- .'
|
||||
sh 'git checkout develop'
|
||||
sh 'rm -rf node_modules'
|
||||
sh 'cp .env.jenkins .env'
|
||||
sh 'lein deps && npm install && ./re-natal deps'
|
||||
|
@ -16,7 +16,7 @@ node ('macos1') {
|
||||
git([url: 'https://github.com/' + REPO + '/status-react.git', branch: BRANCH_NAME])
|
||||
// Checkout master because used for iOS Plist version information
|
||||
sh 'git checkout -- .'
|
||||
sh 'git checkout master'
|
||||
sh 'git checkout develop'
|
||||
sh 'git checkout ' + BRANCH_NAME
|
||||
sh 'rm -rf node_modules'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user