spielwiese
Last change
on this file since 542685e was
e44b658,
checked in by Oleksandr Motsak <motsak@…>, 9 years ago
|
Added git-archive: shell script for generating tarballs of repository content
rm: Minor cleanup
chg: setting export-ignore attribute for unwanted repository items during git archive
|
-
Property mode set to
100755
|
File size:
375 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | export GIT_WORK_TREE=`dirname "$0"` |
---|
4 | export GIT_DIR="$GIT_WORK_TREE/.git" |
---|
5 | |
---|
6 | ID=`$GIT_WORK_TREE/git-version-gen $GIT_WORK_TREE/.tarball-git-version` |
---|
7 | |
---|
8 | git archive --format tar.gz -v -o singular-$ID.tar.gz HEAD && echo "singular-$ID.tar.gz was generated from git repository at [$GIT_WORK_TREE]" || echo "Sorry could not generate archive for [$GIT_WORK_TREE] with '$0'" |
---|
Note: See
TracBrowser
for help on using the repository browser.