mirror of
https://github.com/status-im/status-desktop.git
synced 2025-03-03 07:50:49 +00:00
ci: drop unused BUILD_TYPE, add useful RELEASE param
It appears this was some leftover from ancient times and wasn't being used.
On the other hand the `RELEASE` environment variable controls if Nim builds
of the client binary include debug symbols:
ba7a6d5d34/Makefile (L177-L184)
The shorthand `?:` symbol means that if this is changed for a given job it stays changed.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
d9212565b7
commit
0d04deb2ad
@ -11,10 +11,10 @@ pipeline {
|
||||
}
|
||||
|
||||
parameters {
|
||||
string(
|
||||
name: 'BUILD_TYPE',
|
||||
description: 'Specify build type. Values: pr / nightly / release',
|
||||
defaultValue: 'pr',
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -6,10 +6,10 @@ pipeline {
|
||||
}
|
||||
|
||||
parameters {
|
||||
string(
|
||||
name: 'BUILD_TYPE',
|
||||
description: 'Specify build type. Values: pr / nightly / release',
|
||||
defaultValue: 'pr',
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -4,10 +4,10 @@ pipeline {
|
||||
agent { label 'windows' }
|
||||
|
||||
parameters {
|
||||
string(
|
||||
name: 'BUILD_TYPE',
|
||||
description: 'Specify build type. Values: pr / nightly / release',
|
||||
defaultValue: 'pr',
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user