Skip to content

Commit

Permalink
Release 1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jellesiderius committed Aug 31, 2023
1 parent 33e8401 commit c74fc5e
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions dist/tasks/downloadTask.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tasks/downloadTask.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tasks/syncImportTask.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tasks/syncImportTask.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage-db-sync",
"version": "1.2.3",
"version": "1.2.4",
"description": "Database synchronizer for Magento, based on Magerun",
"author": {
"name": "Jelle Siderius"
Expand Down
4 changes: 2 additions & 2 deletions src/tasks/downloadTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ class DownloadTask {
title: 'Downloading Magerun to server',
task: async (): Promise<void> => {
// Download Magerun to the server
await ssh.execCommand(sshNavigateToMagentoRootCommand('curl -O https://files.magerun.net/' + config.serverVariables.magerunFile, config));
await ssh.execCommand(sshNavigateToMagentoRootCommand('curl -O https://raw.githubusercontent.com/jellesiderius/mage-db-sync/master/files/' + config.serverVariables.magerunFile, config));

if (config.settings.syncDatabases == 'yes') {
// Download Magerun to the staging server
await sshSecondDatabase.execCommand(sshNavigateToMagentoRootCommand('curl -O https://files.magerun.net/' + config.serverVariables.magerunFile, config, true));
await sshSecondDatabase.execCommand(sshNavigateToMagentoRootCommand('curl -O https://raw.githubusercontent.com/jellesiderius/mage-db-sync/master/files/' + config.serverVariables.magerunFile, config, true));
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/syncImportTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class SyncImportTask {
title: 'Downloading Magerun to server',
task: async (): Promise<void> => {
// Download Magerun to the server
await ssh.execCommand(sshNavigateToMagentoRootCommand('curl -O https://files.magerun.net/' + config.serverVariables.magerunFile, config, true));
await ssh.execCommand(sshNavigateToMagentoRootCommand('curl -O https://raw.githubusercontent.com/jellesiderius/mage-db-sync/master/files/' + config.serverVariables.magerunFile, config, true));
}
},
);
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"pretty": true,
"sourceMap": true,
"allowJs": true,
"noEmit": false,
"watch": true
"noEmit": false
},
"include": [
"./src/**/*"
Expand All @@ -34,4 +33,4 @@
"tests",
"dist"
]
}
}

0 comments on commit c74fc5e

Please sign in to comment.