Skip to content

Commit

Permalink
fixed ugly folder name in tar'd release
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennart Koopmann committed Jul 30, 2010
1 parent 6224419 commit 615eb15
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build/build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

BUILD_NUMBER=$1
BUILD_NAME=graylog2-web-interface-$BUILD_NUMBER
FULL_BUILD_NAME=`date +%s`.$BUILD_NAME
BUILD_DIR=builds/$FULL_BUILD_NAME
BUILD_DIR=builds/$BUILD_NAME
BUILD_DATE=`date`
LOGFILE=`pwd`/logs/$FULL_BUILD_NAME
LOGFILE=`pwd`/logs/$BUILD_NAME

# Check if required version parameter is given
if [ -z $BUILD_NUMBER ]; then
Expand Down Expand Up @@ -66,7 +65,7 @@ sed '/nunemaker-validatable/d' config/environment.rb > environment.rb_tmp && mv
# tar it
cd ..
echo "Building Tarball ..."
tar cfz $BUILD_NAME.tar.gz $FULL_BUILD_NAME
#rm -rf ./$FULL_BUILD_NAME
tar cfz $BUILD_NAME.tar.gz $BUILD_NAME
rm -rf ./$BUILD_NAME

echo "DONE! Created Graylog2 release $BUILD_NAME on $BUILD_DATE"

0 comments on commit 615eb15

Please sign in to comment.