1 2 3 4 5 6 7 8 9
#!/bin/sh VERSION=$1 tar -xzvf gitlab-$VERSION.tar.gz rm -rf gitlab-$VERSION/ee tar -czvf gitlab-$VERSION-ce.tar.gz gitlab-$VERSION