+# check if the packaging is run by release job by looking at /tmp/release.properties
+- name: Check if /tmp/release.properties file exists
+ stat:
+ path: /tmp/release.properties
+ register: release_properties
+
+# record repo shas in release.properties file if it exists and
+# copy release.properties to tarball
+- name: Record engine repo SHAs in release.properties
+ include_tasks: record-shas.yaml
+ when: release_properties.stat.exists
+