Fix snap build (#12883)

pull/12887/head
Aaron Ogle 7 years ago committed by Diego Sampaio
parent 8856c8ff73
commit c9c1956e45
  1. 6
      .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"

Loading…
Cancel
Save