args:
chdir: ceph
when:
- - "release != 'SECURITY'"
+ - "release == 'STABLE' or release == 'RELEASE_CANDIDATE'"
- tag|bool is true
- name: "git checkout previously existing tag for re-build"
args:
chdir: ceph
when:
- - "release != 'SECURITY'"
+ - "release == 'STABLE' or release == 'RELEASE_CANDIDATE'"
- tag|bool is false
- throwaway|bool is false
+# HOTFIX
+# This assumes hotfix has already been pushed to {{ branch }}-release branch on github
+- name: "git checkout {{ branch }}-release for HOTFIX release"
+ command: git checkout {{ branch }}-release
+ args:
+ chdir: ceph
+ when: "release == 'HOTFIX'"
+
# SECURITY
- name: "git checkout security {{ branch }}-release branch"
command: git checkout -f -B {{ branch }}-release security/{{ branch }}-release