Sha256: 9521d9e4d83889f6a16484c67aa08d569b56ab7b406e7bf0fa18b9b59cca8906
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
#!/bin/sh set -e if [ $# -eq 0 ]; then echo "No tag supplied. Usage: ./update.sh master" exit 1 fi TAG=$1 EXTRACT_DIRECTORY="$$$(date "+%Y%m%d%H%M%S")" FILE_NAME="$EXTRACT_DIRECTORY.tar.gz" RELEASE_URL="https://github.com/designmodo/Flat-UI/archive/$TAG.tar.gz" RELEASE_PATH="$EXTRACT_DIRECTORY/flat-ui-$TAG" VENDOR_PATH="vendor/assets" wget -O $FILE_NAME $RELEASE_URL mkdir $EXTRACT_DIRECTORY tar xfz $FILE_NAME -C $EXTRACT_DIRECTORY cp "$RELEASE_PATH/css/flat-ui.css" "$VENDOR_PATH/stylesheets" cp -R "$RELEASE_PATH/images" $VENDOR_PATH
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flat-ui-rails-0.0.2 | update.sh |
flat-ui-rails-0.0.1 | update.sh |