Last active
May 23, 2018 21:44
-
-
Save ryanpadilha/4444d6c4a65af1fad5618281026d0914 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
TARGET=$WORKSPACE/target | |
PROJECT_NAME=project-name | |
if [ ! -d "$TARGET" ]; then | |
mkdir -p "$TARGET" | |
fi | |
tar --exclude="$WORKSPACE/.git" --exclude="$WORKSPACE/.idea" --exclude="$WORKSPACE/venv-sandbox" --exclude="$WORKSPACE/target" -pczvf $TARGET/$PROJECT_NAME.tar.gz $WORKSPACE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment