Skip to content

Commit

Permalink
Adjust release script to latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 16, 2012
1 parent a6957dd commit a63490b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/create-release
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ "x$1" = "x--help" -o "x$1" = "x-h" ] ; then
fi

# Grab version
version=`python -c 'import weblate; print weblate.VERSION'`
version=`python -c 'import weblate; print weblate.VERSION' | sed 's/-dev//'`
namever=weblate-$version

# What are we going to build?
Expand All @@ -33,7 +33,9 @@ git archive --format=tar $rev | tar xf - -C $build_dir
cd $build_dir

# Compile po files
cp weblate/settings_example.py weblate/settings.py
../../scripts/generate-locales
rm weblate/settings.py

# Cleanup possible byte compiled files (from above step)
find . -name '*.py[co]' -delete
Expand Down

0 comments on commit a63490b

Please sign in to comment.