mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 00:05:22 +03:00
Fixed RPM build for release candidates.
This commit is contained in:
parent
f5edd56a9e
commit
3066643709
1 changed files with 3 additions and 1 deletions
|
@ -603,9 +603,11 @@ function release_rpm(arch, done) {
|
|||
// The buildRpm does not generate the folder correctly, manually
|
||||
createDirIfNotExists(RELEASE_DIR);
|
||||
|
||||
var regex = /-/g;
|
||||
|
||||
var options = {
|
||||
name: pkg.name,
|
||||
version: pkg.version,
|
||||
version: pkg.version.replace(regex, '_'), // RPM does not like release candidate versions
|
||||
buildArch: getLinuxPackageArch('rpm', arch),
|
||||
vendor: pkg.author,
|
||||
summary: pkg.description,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue