Skip to content

Commit

Permalink
Add desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
cammellos committed Nov 2, 2018
1 parent bd4cebf commit c36c604
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion _assets/ci/Jenkinsfile-manual
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,26 @@ node('linux') {
script: "git describe --exact-match --tag 2>/dev/null || git describe --always",
returnStdout: true
).trim()
sh "env GITHUB_TOKEN=${env.GIT_PASS} make deploy release_tag=${version} release_branch=${gitBranch} release_directory=\"build/bin/*\""
sh "rm -rf /tmp/release-${version}"
sh "mkdir -p /tmp/release-${version}"
sh "mv build/bin/statusgo-android-16.aar /tmp/release-${version}/status-go-android.aar"
sh "mv build/bin/statusgo-ios-9.3-framework/status-go-ios.zip /tmp/release-${version}/status-go-ios.zip"
sh "git clean -f -x"
sh "zip -r /tmp/release-${version}/status-go-desktop.zip . -x *.git*"
withCredentials([[
$class: 'UsernamePasswordMultiBinding',
credentialsId: 'status-im-auto',
usernameVariable: 'GITHUB_USER',
passwordVariable: 'GITHUB_TOKEN'
]]) {
sh """
make deploy \
release_tag=${version} \
release_branch=${gitBranch} \
release_directory='/tmp/release-${version}/*'
"""
}
sh "rm -rf /tmp/release-${version}"
}
}
}

0 comments on commit c36c604

Please sign in to comment.