Skip to content

Commit

Permalink
Fix snap build (#12883)
Browse files Browse the repository at this point in the history
  • Loading branch information
geekgonecrazy authored and sampaiodiego committed Dec 7, 2018
1 parent 8856c8f commit c9c1956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/snap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c9c1956

Please sign in to comment.