MASTER_hot_fix(mdb): use relative path #1038

Merged
joan merged 2 commits from useRelativePath into master 2022-08-09 09:50:31 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 6054e0bef3 - Show all commits

View File

@ -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 {