Skip to content

Commit

Permalink
Store the revision number of the release branch
Browse files Browse the repository at this point in the history
svn-origin-rev: 17463
  • Loading branch information
mkrack committed Oct 5, 2016
1 parent 23c1597 commit 258f412
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions REVISION
@@ -0,0 +1 @@
svn:17462
7 changes: 4 additions & 3 deletions src/cp2k_info.F
Expand Up @@ -35,8 +35,8 @@ MODULE cp2k_info
#if defined(__RELEASE_VERSION)
INTEGER, PARAMETER :: id_cp2k_version = id_release_version ! (Uncomment for release version)
#else
INTEGER, PARAMETER :: id_cp2k_version = id_development_version ! (Uncomment for development version)
! INTEGER, PARAMETER :: id_cp2k_version = 2 ! (Uncomment for branch version)
! INTEGER, PARAMETER :: id_cp2k_version = id_development_version ! (Uncomment for development version)
INTEGER, PARAMETER :: id_cp2k_version = 2 ! (Uncomment for branch version)
#endif

#if defined(__COMPILE_REVISION)
Expand All @@ -45,7 +45,7 @@ MODULE cp2k_info
CHARACTER(LEN=*), PARAMETER :: compile_revision = "unknown"
#endif

CHARACTER(LEN=*), PARAMETER :: version_nr = "4.0"
CHARACTER(LEN=*), PARAMETER :: version_nr = "4.1"
CHARACTER(LEN=*), PARAMETER :: cp2k_year = "2016"
CHARACTER(LEN=*), PARAMETER :: cp2k_version = "CP2K version "//TRIM(version_nr)
CHARACTER(LEN=*), PARAMETER :: cp2k_home = "https://www.cp2k.org/"
Expand Down Expand Up @@ -292,6 +292,7 @@ SUBROUTINE print_cp2k_license(iunit)
WRITE (iunit, '(T2,A)') '! Copyright (C) 2004, 2005, 2006, 2007 CP2K developers group !'
WRITE (iunit, '(T2,A)') '! Copyright (C) 2008, 2009, 2010, 2011 CP2K developers group !'
WRITE (iunit, '(T2,A)') '! Copyright (C) 2012, 2013, 2014, 2015 CP2K developers group !'
WRITE (iunit, '(T2,A)') '! Copyright (C) 2016 CP2K developers group !'
WRITE (iunit, '(T2,A)') '! !'
WRITE (iunit, '(T2,A)') '! This program is free software; you can redistribute it and/or modify !'
WRITE (iunit, '(T2,A)') '! it under the terms of the GNU General Public License as published by !'
Expand Down

0 comments on commit 258f412

Please sign in to comment.