mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 02:35:54 +00:00
ci: fix GitHub release by using glob for all files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
2dce0ba861
commit
5e6ab5d0d9
@ -181,15 +181,16 @@ def publishRelease(Map args) {
|
||||
}
|
||||
}
|
||||
|
||||
def publishReleaseMobile() {
|
||||
def publishReleaseMobile(path='pkg') {
|
||||
def found = findFiles(glob: "${path}/*")
|
||||
if (found.size() == 0) {
|
||||
sh "ls ${path}"
|
||||
error("No file to release in ${path}")
|
||||
}
|
||||
publishRelease(
|
||||
version: ghcmgr.utils.getVersion()+'-mobile',
|
||||
version: ghcmgr.utils.getVersion(),
|
||||
pkgDir: 'pkg',
|
||||
files: [ /* upload only mobile release files */
|
||||
ghcmgr.utils.pkgFilename(btype, 'ipa'),
|
||||
ghcmgr.utils.pkgFilename(btype, 'apk'),
|
||||
ghcmgr.utils.pkgFilename(btype, 'sha256'),
|
||||
]
|
||||
files: found.collect { it.path },
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user