Use lower-case rpm package name
RPM package names must be all lower case. The internal Name tag already
followed the package name, but the artifact file still used the mixed-case
product name. Set a target-specific rpm artifactName to
${name}-${version}-${arch}.${ext}.
This commit is contained in:
1 parent
339803cf98
commit
feb379a258
3 files changed
+7
-1
No files matched your search
@@ -12,6 +12,9 @@ release path documented in [`TODO.md`](TODO.md).
|
||||
used as custom parameter names again.
|
||||
- `npm run checksums` generates `md5`/`sha256` sidecar files for the packaged
|
||||
`.rpm` and `.AppImage` artifacts in `dist/`, matching the release workflow.
|
||||
- The RPM artifact is now named all-lower-case (`musrflow-<version>-<arch>.rpm`)
|
||||
instead of the mixed-case product name, since RPM package names must be
|
||||
lower case.
|
||||
|
||||
## 1.0.0-rc.4 (2026-09-23)
|
||||
|
||||
|
||||
+2
-1
@@ -84,7 +84,8 @@
|
||||
"icon": "assets/musrflow-icon.png"
|
||||
},
|
||||
"rpm": {
|
||||
"packageCategory": "Applications/Science"
|
||||
"packageCategory": "Applications/Science",
|
||||
"artifactName": "${name}-${version}-${arch}.${ext}"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,8 @@ assert.strictEqual(lock.packages[''].version, pkg.version);
|
||||
assert.strictEqual(pkg.build.appId, 'ch.psi.lmu.musrflow');
|
||||
assert(pkg.build.linux.target.includes('rpm'));
|
||||
assert(pkg.build.linux.target.includes('AppImage'));
|
||||
assert.strictEqual(pkg.build.rpm.artifactName, '${name}-${version}-${arch}.${ext}');
|
||||
assert(!pkg.build.rpm.artifactName.includes('${productName}'), 'RPM artifact name must be lower case');
|
||||
assert(pkg.scripts['dist:rpm'].includes('electron-builder@26.15.3'));
|
||||
assert(pkg.scripts['dist:appimage'].includes('electron-builder@26.15.3'));
|
||||
assert(pkg.scripts['checksums:md5'].includes('md5sum'));
|
||||
|
||||
Reference in new issue
Block a user