Created
July 2, 2014 09:20
-
-
Save svenvarkel/ad4b09e4badd318eec95 to your computer and use it in GitHub Desktop.
Bamboo build step for packaging Magento extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BUILDDIR=$1 | |
CONNECTDIR="$BUILDDIR/public/var/connect" | |
PACKAGEXML="$CONNECTDIR/package.xml" | |
echo "Using package.xml: $PACKAGEXML" | |
cd $BUILDDIR/public | |
if [ -f "$PACKAGEXML" ]; | |
then | |
./mage package $PACKAGEXML | |
mv $BUILDDIR/.modman/extension/var/connect/*.tgz $CONNECTDIR | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment