← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 4774: Update version number to 0.9.7+ and add post-release hook for updating version numbers

 

Hi,

This didn't work very well for me or the buildbot. When running 'scons
configure' I now get:

  scons: *** Two environments with different actions were specified
for the same target: libdolfin.so.0.9.7+
  File "/home/johannr/src/bzr/dolfin/scons/simula-scons/simula_scons/ExtendedEnvironment.py",
line 96, in VersionedSharedLibrary

Does it work fine for you?

Johannes

On Tue, Jun 1, 2010 at 1:04 PM,  <noreply@xxxxxxxxxxxxx> wrote:
> ------------------------------------------------------------
> revno: 4774
> committer: Anders Logg <logg@xxxxxxxxx>
> branch nick: dolfin-dev
> timestamp: Tue 2010-06-01 13:02:02 +0200
> message:
>  Update version number to 0.9.7+ and add post-release hook for updating version numbers
> modified:
>  SConstruct
>  dolfin/scons.cfg
>  release.conf
>  site-packages/dolfin/__init__.py
>
>
> --
> lp:dolfin
> https://code.launchpad.net/~dolfin-core/dolfin/main
>
> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
>
> === modified file 'SConstruct'
> --- SConstruct  2010-05-25 10:36:03 +0000
> +++ SConstruct  2010-06-01 11:02:02 +0000
> @@ -27,7 +27,7 @@
>  env["projectname"] = "dolfin"
>
>  # Set version
> -env["PACKAGE_VERSION"] = "0.9.7"
> +env["PACKAGE_VERSION"] = "0.9.7+"
>
>  scons.setDefaultEnv(env)
>
>
> === modified file 'dolfin/scons.cfg'
> --- dolfin/scons.cfg    2010-05-25 10:36:03 +0000
> +++ dolfin/scons.cfg    2010-06-01 11:02:02 +0000
> @@ -2,7 +2,7 @@
>
>  # Module name and version number
>  ModuleName = "dolfin"
> -CxxFlags.append("-DPACKAGE_VERSION=\\\"0.9.7\\\"")
> +CxxFlags.append("-DPACKAGE_VERSION=\\\"0.9.7+\\\"")
>
>  # Dependencies
>  Dependencies = ['ufc-1', 'boost', 'boost_program_options', \
>
> === modified file 'release.conf'
> --- release.conf        2009-12-04 15:13:39 +0000
> +++ release.conf        2010-06-01 11:02:02 +0000
> @@ -6,6 +6,11 @@
>
>  post-release()
>  {
> +    echo "Update version numbers to x.y.z+"
> +    for f in $FILES; do
> +        $EDITOR $f
> +    done
> +
>     echo "Remember to update Freshmeat page!"
>     firefox http://freshmeat.net/projects/dolfin/
>  }
>
> === modified file 'site-packages/dolfin/__init__.py'
> --- site-packages/dolfin/__init__.py    2010-05-09 13:38:10 +0000
> +++ site-packages/dolfin/__init__.py    2010-06-01 11:02:02 +0000
> @@ -1,7 +1,7 @@
>  """Main module for PyDOLFIN"""
>
>  # Import DOLFIN wrapper module as well as additional utility entities
> -__version__ = "0.9.7"
> +__version__ = "0.9.7+"
>
>  # Try to load the mpi library before anything else
>  try:
>
>
>



Follow ups