Skip to content

Instantly share code, notes, and snippets.

@wolfc
Created April 3, 2012 14:44
Show Gist options
  • Save wolfc/2292571 to your computer and use it in GitHub Desktop.
Save wolfc/2292571 to your computer and use it in GitHub Desktop.
Create the JBoss AS archive
#!/bin/sh
REPO=$1
TAG=$2
git archive --remote=$REPO --format=tar --prefix=jboss-as-$TAG/ $TAG | xz >SOURCES/jboss-as-$TAG.tar.xz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment