diff options
author | don.darling <don.darling@24075187-2e39-4e88-bbb8-bc8aa768f540> | 2009-02-20 23:41:12 +0000 |
---|---|---|
committer | don.darling <don.darling@24075187-2e39-4e88-bbb8-bc8aa768f540> | 2009-02-20 23:41:12 +0000 |
commit | a5fe6b05a59284d51e8cb6ffb1bcb8055fb8d2f6 (patch) | |
tree | 186fbab76f14132f967c3790b72f44a9b5676a47 | |
parent | f339a78d98148ec3913e29132ebd51512f682e32 (diff) |
Add script for creating release tarballs.
git-svn-id: https://gstreamer.ti.com/svn/gstreamer_ti/trunk@108 24075187-2e39-4e88-bbb8-bc8aa768f540
-rwxr-xr-x | release_scripts/release.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/release_scripts/release.sh b/release_scripts/release.sh new file mode 100755 index 0000000..4beacbf --- /dev/null +++ b/release_scripts/release.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +if [ $# -ne 1 ] +then + echo + echo "Usage: $0 <release number>" + echo + echo "Example: $0 0.99.00" + echo + exit 0 +fi + +REL=$1 +shift + +REL_US=`echo $REL | sed s#[.]#_#g` + +echo $REL +echo $REL_US + +FULL_NAME="gst-ti-plugin-full-${REL}" +MIN_NAME="gst-ti-plugin-minimal-${REL}" + +umask 0002 +svn export https://omapzoom.org/svn/gstreamer_ti/tags/TAG_RELEASE_${REL_US}/gstreamer_ti + +ln -s gstreamer_ti ${FULL_NAME} +ln -s gstreamer_ti/ti_build/ticodecplugin ${MIN_NAME} +tar chf - ${FULL_NAME} | gzip --best -c > ${FULL_NAME}.tar.gz +tar chf - ${MIN_NAME} | gzip --best -c > ${MIN_NAME}.tar.gz + |