Skip to content

Commit

Permalink
Merge pull request fastslack#24 from Kriechi/new_release_system
Browse files Browse the repository at this point in the history
updated release-script
  • Loading branch information
fastslack committed Feb 16, 2012
2 parents fa7b5a6 + 3144429 commit 5e19a04
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 37 deletions.
38 changes: 38 additions & 0 deletions releases/make_release.sh
@@ -0,0 +1,38 @@
#!/bin/bash
#
# * jUpgrade
# *
# * @author Matias Aguirre
# * @email maguirre@matware.com.ar
# * @url http://www.matware.com.ar
# * @license GNU/GPL
#

PROJECT="jupgrade"
VERSION="1.2.5beta"

DIR="com_$PROJECT"
PACKAGE="com_$PROJECT-$VERSION.zip"

# copy all needed files
rm -rf $DIR
cp -r ../trunk $DIR

# delete version-control stuff and other files
find $DIR -name ".git" -type d -exec rm -rf {} \;
find $DIR -name ".DS_Store" -exec rm -rf {} \;

# delete unused files
rm $DIR/admin/${PROJECT}.xml
rm $DIR/TODO

# create package
rm $PACKAGE
zip -rq $PACKAGE $DIR

# create symlink
rm -rf com_${PROJECT}-latest.zip
ln -s $PACKAGE com_${PROJECT}-latest.zip

# cleanup
rm -rf $DIR
37 changes: 0 additions & 37 deletions releases/mtwMakeComponent

This file was deleted.

0 comments on commit 5e19a04

Please sign in to comment.