From f318285bcd262632def6e0ee5906507203777f10 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 12 Oct 2015 13:49:26 -0700 Subject: [PATCH] release repo has moved --- deploy.json | 2 +- prepareDeployTarget.sh | 4 ++-- test/cloudron-update-test.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy.json b/deploy.json index 9c4f550..df6cdaf 100644 --- a/deploy.json +++ b/deploy.json @@ -13,7 +13,7 @@ "assets": { "sshKey": "../keys/ci/id_rsa", "sshPub": "../keys/ci/id_rsa.pub", - "installer": "../installer" + "release": "../release" } } } diff --git a/prepareDeployTarget.sh b/prepareDeployTarget.sh index 2687025..d61a1b5 100644 --- a/prepareDeployTarget.sh +++ b/prepareDeployTarget.sh @@ -59,8 +59,8 @@ sudo npm install -g pm2 pm2-run forever sudo rm -rf ~/.npm # .npm will get owned by root after "sudo npm install -g" # installer -rm -rf "${HOME}/installer" && mv /tmp/installer "${HOME}" -cd "${HOME}/installer" && npm install && npm rebuild +rm -rf "${HOME}/release" && mv /tmp/release "${HOME}" +cd "${HOME}/release" && npm install && npm rebuild # create deploy directories mkdir -p "${APP_DIR}" diff --git a/test/cloudron-update-test.js b/test/cloudron-update-test.js index 0267181..0d1adaa 100644 --- a/test/cloudron-update-test.js +++ b/test/cloudron-update-test.js @@ -31,11 +31,11 @@ describe('Cloudron update testing', function () { var res, fromVersion, toVersion, cloudron, appId, box, nextVersion; before('can release a fake version to staging', function () { - execSync(__dirname + '/../../installer/release/release rerelease --env staging', { stdio: [ null, process.stdout, process.stderr ] }); + execSync(__dirname + '/../../release/release rerelease --env staging', { stdio: [ null, process.stdout, process.stderr ] }); }); after('can revert the fake release from staging', function () { - execSync(__dirname + '/../../installer/release/release revert --env staging', { stdio: [ null, process.stdout, process.stderr ] }); + execSync(__dirname + '/../../release/release revert --env staging', { stdio: [ null, process.stdout, process.stderr ] }); }); it('can query versions', function () {