fix(mdb): use relative path
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
1dda78c438
commit
6054e0bef3
|
@ -89,10 +89,11 @@ module.exports = Self => {
|
|||
|
||||
const destinationBranch = path.join(branchPath, `${appName}.7z`);
|
||||
const destinationRoot = path.join(accessContainer.client.root, `${appName}.7z`);
|
||||
const destinationRelative = `../../.archive/${appName}/${newVersion}.7z`;
|
||||
try {
|
||||
await fs.unlink(destinationBranch);
|
||||
} catch (e) {}
|
||||
await fs.symlink(destinationFile, destinationBranch);
|
||||
await fs.symlink(destinationRelative, destinationBranch);
|
||||
|
||||
if (branch == 'master') {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue