TPE-405 Change reference snapshot only for daily release 41/156541/1
authorhyokeun <hyokeun.jeon@samsung.com>
Thu, 19 Oct 2017 00:55:42 +0000 (09:55 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Thu, 19 Oct 2017 00:55:42 +0000 (09:55 +0900)
Change-Id: I5f2565c7819e6d5dfda7ef850ce0dba4e5da3a8a

job_release_snapshot.py

index ea6ac4b..cb50587 100755 (executable)
@@ -100,7 +100,8 @@ def main():
 
     # update reference project information with release id
     if os.getenv("REF_MAP_UPDATE_ENABLED", "0") != "0" \
-        and os.getenv("REF_MAPPING_PRJ") is not None:
+        and os.getenv("REF_MAPPING_PRJ") is not None \
+        and release_type == 'daily':
         trigger_next("ref-snapshot-info-update", \
                         {'profile':release_profile, \
                          'base_project':profile_info['Project'], \