Permalink
Browse files

Better way of getting the latest generator

  • Loading branch information...
nvh committed Aug 2, 2016
1 parent dc847a4 commit acaa7d4d69680379a165d455faffcc3c91f4d001
Showing with 2 additions and 12 deletions.
  1. +2 −7 scripts/dist.sh
  2. +0 −5 wercker.yml
View
@@ -1,8 +1,5 @@
#!/bin/bash
DEVMATE_FEED="https://updates.devmate.com/co.motif.framer.generator.xml"
# GENERATOR_HOST="http://framergenerator-update.s3-website-us-east-1.amazonaws.com"
# GENERATOR_LATEST=$GENERATOR_HOST/`curl -s $GENERATOR_HOST/latest.txt`
DEVMATE_LATEST="https://dl.devmate.com/co.motif.framer.generator/FramerGenerator.zip"
# Clean up previous builds
rm -f build/Framer.zip
@@ -25,10 +22,8 @@ cp -R extras/preloader-images/* "$IMAGES_DIR"
# Download the latest generator
cd build/Framer
curl --silent --location $DEVMATE_FEED --output devmate.xml
xmllint --xpath "string(//item[1]/enclosure/@url)" devmate.xml | xargs curl --location --output generator.zip
curl --location $DEVMATE_LATEST --output generator.zip
unzip "./generator.zip"
rm "./devmate.xml"
rm "./generator.zip"
cd -
View
@@ -17,11 +17,6 @@ build:
deploy:
steps:
- script:
name: install-packages
code: |
apt-get update
apt-get install -y libxml2-utils
- script:
name: builds.framerjs.com
code: |

0 comments on commit acaa7d4

Please sign in to comment.