Skip to content

Instantly share code, notes, and snippets.

@dpetzel dpetzel/gist:2974078
Created Jun 22, 2012

What would you like to do?
def _increment_zenpack_and_export(self):
Increment the version and export the zenpack egg
for pack in dmd.ZenPackManager.packs():
if == self.zenpack:
log.debug("Previous ZenPack Version was {0}".format(pack.version))
pack.version = float(pack.version) + ZENPACK_INCREMENT_STEP
log.debug("New ZenPack Version is {0}".format(pack.version))
#Persist our changes before exporting
#export the pack to the egg file on disk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.