aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-github-lambda
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-github-lambda')
-rw-r--r--src/blogc-github-lambda/lambda_function.py.in (renamed from src/blogc-github-lambda/lambda_function.py)3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blogc-github-lambda/lambda_function.py b/src/blogc-github-lambda/lambda_function.py.in
index 3f41eeb..cafb7c4 100644
--- a/src/blogc-github-lambda/lambda_function.py
+++ b/src/blogc-github-lambda/lambda_function.py.in
@@ -21,6 +21,8 @@ import tarfile
import urllib2
import shutil
+BLOGC_VERSION = '@PACKAGE_VERSION@'
+
cwd = os.path.dirname(os.path.abspath(__file__))
os.environ['PATH'] = '%s:%s' % (cwd, os.environ.get('PATH', ''))
@@ -150,6 +152,7 @@ def sync_s3(src, dest, settings_file):
def sns_handler(message):
+ print 'blogc-github-lambda %s' % BLOGC_VERSION
payload = json.loads(message)
if payload['ref'] == 'refs/heads/master':