mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 08:04:11 +08:00
fix(build) Fix publish task for linux
This commit is contained in:
parent
c70902875e
commit
fb1677b032
1 changed files with 2 additions and 2 deletions
|
@ -125,14 +125,14 @@ module.exports = (grunt) => {
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
if (path.extname(file) === '.deb') {
|
if (path.extname(file) === '.deb') {
|
||||||
uploads.push({
|
uploads.push({
|
||||||
source: file,
|
source: `${outputDir}/${file}`,
|
||||||
key: `${fullVersion}/${process.platform}-deb/${process.arch}/N1.deb`,
|
key: `${fullVersion}/${process.platform}-deb/${process.arch}/N1.deb`,
|
||||||
options: {ContentType: "application/x-deb"},
|
options: {ContentType: "application/x-deb"},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (path.extname(file) === '.rpm') {
|
if (path.extname(file) === '.rpm') {
|
||||||
uploads.push({
|
uploads.push({
|
||||||
source: file,
|
source: `${outputDir}/${file}`,
|
||||||
key: `${fullVersion}/${process.platform}-rpm/${process.arch}/N1.rpm`,
|
key: `${fullVersion}/${process.platform}-rpm/${process.arch}/N1.rpm`,
|
||||||
options: {ContentType: "application/x-rpm"},
|
options: {ContentType: "application/x-rpm"},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue