diff --git a/VERSION b/VERSION index 4f19d26e1..27df921e8 100644 --- a/VERSION +++ b/VERSION @@ -1,5 +1,5 @@ gregoriotex_api_version = 20150220 -gregorio_version = 2.4.1-git +gregorio_version = 2.4.1 *** Do not add any lines above here. *** diff --git a/VersionUpdate.py b/VersionUpdate.py index 6e8859687..310181809 100644 --- a/VersionUpdate.py +++ b/VersionUpdate.py @@ -11,9 +11,13 @@ version_file = 'VERSION' + +gregorio_files = ["configure.ac", + "windows/gregorio.iss"] + gregoriotex_api_files = ["tex/gregoriotex.lua", "plugins/gregoriotex/gregoriotex.h"] -gregorio_files = ["configure.ac"] + result = [] GREGORIOTEX_API_VERSION = '' GREGORIO_VERSION = '' @@ -44,6 +48,8 @@ def replace_gregorio_version(infile, newver): if re.search(r'AC_INIT\(\[', line): result.append(re.sub (r'[0-9.]+-?[a-z]*(\],)', newver + r'\1', line)) + elif re.search(r'AppVersion', line): + result.append(re.sub(r'[0-9.]+', newver, line)) else: result.append(line) diff --git a/configure.ac b/configure.ac index 3b1bf8e5c..ef09fcb9c 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -AC_INIT([gregorio],[2.4.1-git],[gregorio-devel@gna.org]) +AC_INIT([gregorio],[2.4.1],[gregorio-devel@gna.org]) AC_PREREQ(2.53) AC_CONFIG_SRCDIR([src/gregorio-utils.c]) AC_CONFIG_AUX_DIR([build-aux]) diff --git a/windows/gregorio.iss b/windows/gregorio.iss index a5befd30e..ce864505b 100644 --- a/windows/gregorio.iss +++ b/windows/gregorio.iss @@ -1,6 +1,6 @@ [Setup] AppName=gregorio -AppVersion=2.4 +AppVersion=2.4.1 DefaultDirName={pf}\gregorio DefaultGroupName=gregorio SetupIconFile=gregorio.ico