Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Add version tag
Browse files Browse the repository at this point in the history
Use setup tools to get the bootstrap cfn version and add it as a
tag.
  • Loading branch information
Niall Creech committed Oct 31, 2016
1 parent 780f434 commit cfd528d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bootstrap_cfn/fab_tasks.py
Expand Up @@ -13,6 +13,8 @@
from fabric.colors import green, red
from fabric.utils import abort

import pkg_resources

from bootstrap_cfn.autoscale import Autoscale
from bootstrap_cfn.cloudformation import Cloudformation
from bootstrap_cfn.config import ConfigParser, ProjectConfig
Expand Down Expand Up @@ -735,7 +737,8 @@ def get_cloudformation_tags():
"""
return {
"Env": env.environment,
"Application": env.application
"Application": env.application,
"Bootstrap-cfn-Version": pkg_resources.require("bootstrap-cfn")[0].version
}


Expand Down

0 comments on commit cfd528d

Please sign in to comment.