It's exposed as an environment variable, so something along the lines of the following should work:
""" import os version = os.environ['CURRENT_VERSION_ID'] """ Daniel On Oct 22, 7:52 pm, Mariano Benitez <[EMAIL PROTECTED]> wrote: > I need to know it inside my app so I can do something like <!-- > running version $Version$ --> so that way I know if the proxies are > still caching my pages or not. > Mariano > > On Oct 23, 12:15 am, "Venkatesh Rangarajan" > > <[EMAIL PROTECTED]> wrote: > > Doesn't the version in appengine dashboard do just that ? > > > On Wed, Oct 22, 2008 at 6:49 PM, Mariano Benitez <[EMAIL PROTECTED]> wrote: > > > > I would like to do some stuff (reset caches, for example) when I > > > deploy a new version, and I would also like to know which version of > > > the files I am using (you know... proxies...). > > > AFAIK there is no $VERSION variable that I can use, I will use my SVN > > > build number, but it would be nice to know that. > > > > Thanks, GAE is great! > > > MAriano --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
