mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-17 05:24:16 +00:00
Automate release archive generation (merge r4676, r4677 and r4679 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4695 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
usage() {
|
||||
echo "Usage: $(basename $0) name version"
|
||||
}
|
||||
|
||||
if [ $# != 2 ]; then
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
scriptdir="$(dirname "$0")"
|
||||
name="$1"
|
||||
version="$2"
|
||||
|
||||
tar --owner=root --group=root --transform="s|^|$name-$version/|" \
|
||||
-cjf $name-$version.tar.bz2 $($scriptdir/list-source-files) &&
|
||||
ls -l $name-$version.tar.bz2
|
||||
Reference in New Issue
Block a user