Skip to content

Commit

Permalink
Bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMillward committed Nov 2, 2015
1 parent 71b1944 commit 68e8f2e
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 14 deletions.
2 changes: 1 addition & 1 deletion autorippr.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
Copyright (c) 2014, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
Expand Down
21 changes: 21 additions & 0 deletions bumpVersion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

new_version=$1
today="$(date +'%Y-%m-%d %R:%S %Z')"

if [ -z $new_version ]; then
echo "Usage: $0 <new_version>";
exit 1;
fi

version_string="$new_version, $today"

echo "Bumping applicable files to version: $version_string"

for i in `find . -type f -name "*.py"`;
do
file=`basename $i`;
echo "Bumping version of $i"
sed -i "s/\$Id\s*.*\$;/\$Id: $version_string \$;/g" $i
done

2 changes: 1 addition & 1 deletion classes/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Copyright (c) 2012, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2014, Ian Bird, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@authors Ian Bird, Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2012, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2014, Ian Bird
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Ian Bird
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/filebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2012, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/handbrake.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2012, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2012, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/makemkv.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2012, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2014, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/pushover.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2014, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2014, Jacob Carrigan
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jacob Carrigan
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/stopwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2012, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion classes/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (c) 2012, Jason Millward
@category misc
@version $Id: 1.7-test2, 2015-05-11 07:48:38 ACST $;
@version $Id: 1.7-test3, 2015-11-02 15:32:00 ACDT $;
@author Jason Millward
@license http://opensource.org/licenses/MIT
"""
Expand Down

0 comments on commit 68e8f2e

Please sign in to comment.