mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-27 08:55:39 +00:00
ci: fix GitHub upload by not changing dir when uploading
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
b99e54c2cd
commit
c348337150
@ -131,17 +131,15 @@ def releaseDelete(Map args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def releaseUpload(Map args) {
|
def releaseUpload(Map args) {
|
||||||
dir(args.pkgDir) {
|
args.files.each {
|
||||||
args.files.each {
|
sh """
|
||||||
sh """
|
github-release upload \
|
||||||
github-release upload \
|
-u '${args.user}' \
|
||||||
-u '${args.user}' \
|
-r '${args.repo}' \
|
||||||
-r '${args.repo}' \
|
-t '${args.version}' \
|
||||||
-t '${args.version}' \
|
-n ${it} \
|
||||||
-n ${it} \
|
-f ${it}
|
||||||
-f ${it}
|
"""
|
||||||
"""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -163,7 +161,6 @@ def publishRelease(Map args) {
|
|||||||
draft: true,
|
draft: true,
|
||||||
user: 'status-im',
|
user: 'status-im',
|
||||||
repo: 'status-react',
|
repo: 'status-react',
|
||||||
pkgDir: args.pkgDir,
|
|
||||||
files: args.files,
|
files: args.files,
|
||||||
version: args.version,
|
version: args.version,
|
||||||
branch: ghcmgr.utils.branchName(),
|
branch: ghcmgr.utils.branchName(),
|
||||||
@ -189,7 +186,6 @@ def publishReleaseMobile(path='pkg') {
|
|||||||
}
|
}
|
||||||
publishRelease(
|
publishRelease(
|
||||||
version: ghcmgr.utils.getVersion(),
|
version: ghcmgr.utils.getVersion(),
|
||||||
pkgDir: 'pkg',
|
|
||||||
files: found.collect { it.path },
|
files: found.collect { it.path },
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user