From c9c1956e451c3e4a9f656d6fa719453b6ce8975b Mon Sep 17 00:00:00 2001 From: Aaron Ogle Date: Fri, 7 Dec 2018 15:45:53 -0600 Subject: [PATCH] Fix snap build (#12883) --- .circleci/snap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/snap.sh b/.circleci/snap.sh index 38850daa193..190358750ba 100644 --- a/.circleci/snap.sh +++ b/.circleci/snap.sh @@ -16,12 +16,12 @@ echo -e "Tag: $CIRCLE_TAG\r\nBranch: $CIRCLE_BRANCH\r\nBuild: $CIRCLE_BUILD_NUM\ git clone -b $SNAP_CHANNEL git+ssh://rocket.chat.buildmaster@git.launchpad.net/rocket.chat launchpad # Rarely will change, but just incase we copy it all -cp -r resources buildinfo launchpad/ -sed s/#{RC_VERSION}/$RC_VERSION/ snapcraft.yaml > launchpad/snapcraft.yaml +cp -r resources buildinfo snap launchpad/ +sed s/#{RC_VERSION}/$RC_VERSION/ snap/snapcraft.yaml > launchpad/snap/snapcraft.yaml sed s/#{RC_VERSION}/$RC_VERSION/ resources/prepareRocketChat > launchpad/resources/prepareRocketChat cd launchpad -git add resources snapcraft.yaml buildinfo +git add resources snap buildinfo # Set commit author details git config user.email "buildmaster@rocket.chat"