Re: [Module-build-general] [BUG] ./Build dist does not check for new $VERSION
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-09-15 17:15:34
|
On Monday, September 15, 2003, at 11:03 AM, Steve Purkis wrote: > Hi all, > > When you update the 'dist_version_from' file *after* running Build.PL, > the 'dist' action builds a tarball for the old version (which seems > wrong to me). Perhaps it should check for a new $VERSION and rebuild > the cache if it has changed? > Yeah, this is known behavior (though perhaps not to anyone but me?). The Build.PL step solidifies various configuration information, then the subsequent steps do everything based on this configuration. I think you're probably right about the solution, though I think maybe the user should have to manually do the update after we give a warning. Otherwise we may end up losing any parameters the user specified to the Build.PL invocation. Or we could just change the version number itself, and nothing else, in the cache. Which makes me think maybe we shouldn't cache it there at all... -Ken |