Skip to content

Instantly share code, notes, and snippets.

@nico4
Created May 8, 2012 15:41
Show Gist options
  • Save nico4/2636461 to your computer and use it in GitHub Desktop.
Save nico4/2636461 to your computer and use it in GitHub Desktop.
mkegg
#!/bin/bash
user=cornel
name=$(python setup.py sdist --format=zip | tail -n 1 | cut -d "'" -f 2)
echo "Uploading $name.zip to eggshop"
scp dist/"$name".zip $user@mojito.edw.ro:/var/local/eggshop
echo "Removing dist/"
rm -rf dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment